-
Notifications
You must be signed in to change notification settings - Fork 737
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
Accelerate BLAS Preset for macOS #436
Comments
It should be doable as the macOS frameworks are basically a bundle of header files and respective dynamic libraries. And Accelerate BLAS are written in C, not Objective-C/C++ or swift. |
javacpp jni library should be written as framework in order to be more useful (at least to me). |
We can use JavaCPP as a code generator as part of Xcode, that's fine.
|
@saudet I am going to try it myself. Could you give me some more directions if possible? |
Are you interested only in BLAS? If so, check the presets/openblas.java
file. There are bits about MKL. Try to do the same for Accelerate.
|
BLAS and LAPACK presets seem working.
What could be the reason? |
Well then it's obviously not in the class path. |
Both accelerateblas-1.0.0-1.3.3-SNAPSHOT.jar and accelerateblas-1.0.0-1.3.3-SNAPSHOT-macosx-x86_64.jar are in the local maven repo. But strangely, preset jar does not find its accompanying jni jar. |
Are you sure it's not SIP preventing you from loading things? |
It was indeed not in the class path, after all. |
Marking as duplicate of #444. |
I wonder if javacpp can bind macOS Frameworks. If so, please consider adding BLAS in Accelerate Framework.
The text was updated successfully, but these errors were encountered: