Jit:uni reorders for certain 4d matrices are returning incorrect results when the src zero point != 0. A guard has been added to skip jit uni reorders so the simple:any implementation will be used in https://github.com/oneapi-src/oneDNN/pull/2207, however a fix for jit:uni should be created to improve performance.
From my initial investigation, it seems to happen for some shapes when dim[2] > 16 and dim[3] != multiple of 2 but I'm sure there are other shapes that would cause the same issue.
oneDNN includes hardware-specific optimizations and may behave
differently on depending on the compiler and build environment. Include
the following information to help reproduce the issue:
Jit:uni reorders for certain 4d matrices are returning incorrect results when the src zero point != 0. A guard has been added to skip jit uni reorders so the simple:any implementation will be used in https://github.com/oneapi-src/oneDNN/pull/2207, however a fix for jit:uni should be created to improve performance.
From my initial investigation, it seems to happen for some shapes when
dim[2] > 16
anddim[3] != multiple of 2
but I'm sure there are other shapes that would cause the same issue.Version
oneDNN v3.7.0 (commit 2fc6ff9d6142e1c1ab068165f953adf71c4350ff)
Environment
oneDNN includes hardware-specific optimizations and may behave differently on depending on the compiler and build environment. Include the following information to help reproduce the issue:
Steps to reproduce
Observed behavior
benchdnn test fails.
Expected behavior
benchdnn test passes.