Skip to main content

Module blas_info

Module blas_info 

Source
Expand description

Runtime BLAS detection and optimization recommendations.

Probes the linked BLAS library at runtime via dlsym and recommends the optimal BLAS for the current CPU vendor.

Enums§

BlasKind
Detected BLAS library.
CpuVendor
Detected CPU vendor.

Functions§

detect_blas
Detect which BLAS library is linked at runtime.
detect_cpu_vendor
Detect the CPU vendor from /proc/cpuinfo (Linux) or sysctl (macOS).
recommend_blas
Return a recommendation string if the user isn’t using the optimal BLAS.