BLAS/LAPACK

Warning

This section isn't part of the official API. Things might change at any point without further notice.

Index

References - OpenBLAS

ThreadPinning.openblas_pinthreadsMethod
openblas_pinthreads(
    cpuids;
    nthreads,
    juliathread,
    kwargs...
)

Pin the available OpenBLAS threads to the given CPU IDs. Currently, only explict pinning is possible.

source

References - Intel MKL

ThreadPinning.mkl_fullpathMethod
mkl_fullpath(; force_update)

Returns the full path to the libmkl_rt library if the latter is loaded. Will try to locate the library and, if successfull, will cache the result. Throws an error otherwise.

To force an update of the cache, provide force_update=true.

source
ThreadPinning.mkl_is_loadedMethod

Check whether Intel MKL is currently loaded via libblastrampoline (Julia >= 1.7) or is available in Libdl.dllist() (Julia 1.6).

source