3 unstable releases

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

#1568 in Math

Download history 42/week @ 2024-07-24 11/week @ 2024-07-31 12/week @ 2024-09-18 20/week @ 2024-09-25

56 downloads per month
Used in mkl-rs-sys

Apache-2.0

8KB
101 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

Dependencies

~8MB
~147K SLoC