Open
Description
Summary
i did not find post-op for shift left/right for oneDNN.
why is that ?
Current usage
the solutions im using now are :
-
make the post-ops outside of oneDnn kernel. in my code.
-
convert shift value to a float multiply value, and add post-op algorithm::binary_mul.
for example x>>(15) , turns into x*(2^(-15))
x<<15 turns into x*(2^15)
but this solution redirect the kernel to ref implementation instead of avx5/vnni/some other smart implementation.
is this a standard behaviour?
Thanks.