You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What's the purpose that not bindgen the whole mkl.h in wrapper?
It intends not to include unnecessary function or structs. Using rust-bindgen, it will expose ALL functions defined in C header including those defined in e.g. stdio.h. VML and VSL headers are clean enough not to use white-listing like, e.g. I did for cuda-driver-sys, and they are in needs of rust-ndarray/ndarray-linalg#178
This is the purpose of our mkl-sys crate (not published to crates.io). Although not by any means perfect (MKL is really unfriendly to wrapping), it has allowed us to build wrappers for e.g. sparse solvers and sparse linear algebra.
I'd like to avoid an MKL "ecosystem split", and I could imagine contributing what we've done to this crate, as well as future improvements.
However, for us a concern of major importance is the fact that the download feature is on by default. I think for us to contribute our work (if you're interested) I'd really like to urge you to make this off by default. I'll open a separate issue for this, however.
I want to use
mkl_sparse_*
functions but I found thatintel-mkl-sys
only bindgenedmkl_vml.h
andmkl_vsl.h
.What's the purpose that not bindgen the whole
mkl.h
in wrapper?May I create a PR to fix it?
The text was updated successfully, but these errors were encountered: