Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to Use Intel MKL Instead of OpenBLAS #9

Open
RoyiAvital opened this issue Feb 19, 2021 · 1 comment
Open

Option to Use Intel MKL Instead of OpenBLAS #9

RoyiAvital opened this issue Feb 19, 2021 · 1 comment

Comments

@RoyiAvital
Copy link

RoyiAvital commented Feb 19, 2021

Any chance to have support for Intel MKL instead of OpenBLAS?

Intel MKL is faster and includes many useable algorithms (Accelerated LAPCAK in addition to BLAS).

@stepelu
Copy link
Owner

stepelu commented Feb 20, 2021

Yes, you have to make sure the required Blas Intel MKL dynamic libraries are loaded via ffi.load(...) from https://luajit.org/ext_ffi_api.html.
See for instance __init.lua from https://github.com/uluadist-pkg/uluadist-pkg.github.io/blob/master/pkg/clib_libopenblas/0.2.15 (a zip file), but that relies on how things are handled in ULua so it's probably of limited help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants