-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It works only with AMD Ryzen Threadripper 1950X ? #3
Comments
You can edit
It should present the 2700x's topology. You can check the setting by adding Just type If you want change permanently, you can edit environment variables in control panel. |
Thank you for the quick reply. |
OpenBLAS on windows has poor performance with msvc compiler, and it is very tricky to build with mingw-w64. OpenBLAS has performance issue on AMD zen arch, OpenBLAS still not optimized for zen OpenMathLib/OpenBLAS#1461 Anaconda haven't had Intel's MKL check the CPUID is Intel's "cripple AMD" function Anaconda's numpy use Intel TBB instead of OpenMP, Intel TBB use the intel's proprietary method to detect the CPU or NUMA topology, in this situation zen's SMT will be recognize to the real core, it hurt the ALU performance. |
Thank you for the comprehensive answer. It was interesting to know. |
Hi fo40225, Thank you so much for your great job! If I build Numpy with MKL using Intel compiler with mpopt = 'openmp' while running with KMP_CPU_INFO_FILE specified, should I get similar performance? |
Build numpy with icl and openmp and provide I didn't test the linking of If you want to build numpy, you can use this config. |
Hello, your repository has a description of the AMD Rizen Threadripper 1950X processor in "1950x_cpuinfo.txt". The patched libraries that you suggested work only with this CPU? Will they work with other AMD processors (for example, Risen 7 2700x)? Will I need to configure the file "cpuinfo.txt" for current cpu? And how to do it?
And how config these perameters ?
SET KMP_AFFINITY=granularity=core,compact,1,0
SET KMP_CPUINFO_FILE=cpuinfo.txt
SET MKL_NUM_THREADS=16
SET OMP_NUM_THREADS=16
The text was updated successfully, but these errors were encountered: