30 ms·
I'm curious how scpiy and numpy manage it. I'm pretty sure that they have solved some of this before.
by wiredfool 10y ago
I'm curious how scpiy and numpy manage it. I'm pretty sure that they have solved some of this before.
- dalke 10y agoIn my short search, I didn't see evidence that either package has run-time dispatch based on the processor type. I don't see "cpuid" used in the scipy code base, and the only intrinsic I found is specifically in a MS Windows #ifdef. Numpy doesn't use cpuid. It does have compile-time options for intrinsics, but not run-time.
- tavert 10y agoEntirely handled by the underlying BLAS library, OpenBLAS and MKL have this feature but few if any other libraries do. I believe FFTW has something similar, but scipy doesn't use FFTW.