lua-sci icon indicating copy to clipboard operation
lua-sci copied to clipboard

Option to Use Intel MKL Instead of OpenBLAS

Open RoyiAvital opened this issue 5 years ago • 1 comments

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).

RoyiAvital avatar Feb 19 '21 15:02 RoyiAvital

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.

stepelu avatar Feb 20 '21 07:02 stepelu