#hpc #ai #science

sys mkl-rs-sys

MKL bindings for Rust

3 unstable releases

0.3.1 Feb 22, 2024
0.3.0 Feb 22, 2024
0.1.0 Feb 21, 2024

#1790 in Math

Download history 40/week @ 2024-07-23 17/week @ 2024-07-30 1/week @ 2024-09-17 18/week @ 2024-09-24

63 downloads per month

Apache-2.0

8KB
99 lines

MKL-RS

Rust bindings for MKL.

Install MKL

Install MKL on your system from the site.

For example on Fedora, run:

sudo dnf install \
    intel-oneapi-mkl \
    intel-oneapi-mkl-devel \
    intel-oneapi-compiler-shared-runtime-2024.0 \
    intel-oneapi-openmp-common-2024.0 \
    intel-oneapi-openmp-2024.0 \
    libgomp \
    libgomp-devel \
    libomp

Ensure pkg-config can find your MKL isntallation. Installing on Debian-based or RHEL-based distributions will configure pkg-config correctly by default.

You can check that mkl can be found by running:

$ pkg-config --cflags mkl-static-ilp64-gomp
-DMKL_ILP64 -m64 -I/opt/intel/oneapi/mkl/2024.0/lib/pkgconfig/../../include

No runtime deps

~0–1.9MB
~37K SLoC