oneDNN icon indicating copy to clipboard operation
oneDNN copied to clipboard

Data formats on AVX2 and AVX512

Open pranathibl opened this issue 6 years ago • 2 comments

Hi,

I am using a network which has a convolution and Depth-Concatenation on AVX2 and AVX512 machines. On AVX512 machine convolution is picking up the data format as nChw16c, but not on AVX2. When will nChw16c and nChw8c are choosen?

I am using MKLDNN version v1.0

Thanks, Pranathi

pranathibl avatar Apr 15 '20 12:04 pranathibl

@pranathibl,

Memory formats are in general ISA-specific and nChw16c is used for activations on Intel AVX-512 systems. On Intel AVX2 systems you should expect nChw8c instead. We have detailed article on memory formats in the developer guide.

Hope this helps.

vpirogov avatar Apr 15 '20 14:04 vpirogov

Closing as the question seems to be addressed. Feel free to reopen or submit a new issue if you have any further questions.

vpirogov avatar Apr 22 '20 16:04 vpirogov