Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!

cblas_gemm_s8s8s32 not support?

qiang__zhang
Beginner
121 Views

Dear sir,

I hava a question:

I read the oneDNN code, that seams cblas_gemm_s8s8s32() is not implemented,just cblas_gemm_s8u8s32,why?

Because ISA of intel (AVX2?)has not special instructions that can execute multiplying or adding  operation when the two vectors have the same data type (either s8/s8 or u8/u8)?

 

Thank you!

0 Kudos
1 Reply
Gennady_F_Intel
Moderator
121 Views

Yes, mkl provides cblas_gemm_s8u8s32 API only as there are no specific instructions to perform s8s8s32 operations. The latest CPU contains vpmaddubsw instruction which supports only s8u8s32.

 

 

 

Reply