Community
cancel
Showing results for 
Search instead for 
Did you mean: 
guillaumekln
Beginner
94 Views

Performance characteristics of cblas_gemm_s16s16s32

Hi,

I'm interested to get more details on the performance characteristics of the function cblas_gemm_s16s16s32. In my application, the performance gain over cblas_sgemm is lower than I would hope.

Here is my test configuration, which is larger than what would typically be used in my application (a seq2seq model):

  • CblasRowMajor
  • M = 1024 ; K = 512; N = 2048
  • TRANS_A = FALSE ; TRANS_B = TRUE
  • Memory alignment: 64 bytes

And here are some single threaded results on a Intel(R) Core(TM) i7-6700K (AVX2), averaged over 1000 samples:

  • cblas_sgemm: 17.7135 ms
  • cblas_gemm_s16s16s32: 15.5617 ms

Are these values expected? Do I need to do something specific to get more performance out of cblas_gemm_s16s16s32?

Thanks,

Guillaume

0 Kudos
0 Replies
Reply