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§
Functions§
- cpu_
driver_ name - Short name for the CPU driver including the detected BLAS backend
(e.g. “CPU (Accelerate)”, “CPU (OpenBLAS)”, “CPU”). Used in the
up_to_dateMCP tool and other diagnostics. - 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.