3 unstable releases

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

#704 in Math

Download history 335/week @ 2024-02-20 110/week @ 2024-02-27 2/week @ 2024-03-05 6/week @ 2024-03-12 3/week @ 2024-03-26 29/week @ 2024-04-02

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
~148K SLoC