Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.

zgemm3m and MIC automatic off load

AndrewC
New Contributor III
348 Views

I have noted that zgemm will be taken by AO to the Xeon PHI, but not zgemm3m. This is a bit annoying as AO can give a significant boost to zgemm performance, but zgemm3m is faster than ZGEMM normally.

For example on my 8 core machine, ZGEMM3M takes 46s, ZGEMM 62s for a 8192 x 8192 matrix

With AO to the Phi, ZGEMM takes 12.5s, but ZGEMM3M is not accelerated by AO at all.

 

 

 

0 Kudos
1 Reply
AndrewC
New Contributor III
348 Views

Of course I suppose one could switch from zgemm3m to zgemm if I could detect if AO was enabled, but there does not seem to be an API for that. mkl_mic_enable(),.mkl_mic_disable() exist, but no mkl_mic_isenabled() ?

0 Kudos
Reply