rust-math / intel-mkl-src

Redistribute Intel MKL as a crate
Other
77 stars 22 forks source link

AMD processor support #106

Open jianshu93 opened 1 year ago

jianshu93 commented 1 year ago

Dear team,

It is a stupid question but it seems intel-mkl can also be run on AMD CPUs with the MKL_DEBUG_CPU_TYPE=5 option according to testings here: https://www.pugetsystems.com/labs/hpc/How-To-Use-MKL-with-AMD-Ryzen-and-Threadripper-CPU-s-Effectively-for-Python-Numpy-And-Other-Applications-1637/#Threadripper3960x,Ryzen3900XandXeon2175WperformanceusingMKL,MKL_DEBUG_CPU_TYPE=5andOpenBLASforaPythonnumpy\

I am wondering whether this is the same here to use it. Without the option, it seems very slow. I will have more testings added after running on an AMD CPU.

Thanks,

Jianshu