-
Notifications
You must be signed in to change notification settings - Fork 297
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
macOS & accelerate BLAS for matmul #1197
Comments
Hi I'm having the exact same issue, I'm trying to write a matrix exponentiation routine for some simulations (I don't want to use numpy or c++) and this issue keeps popping up for me. I've tried that Cargo.toml and having the following in the build.rs |
I had a similar problem with Accelerate and, as it turned out, the framework had to be added to the rustc invocation for the binary since they are all linked dynamically. As a workaround, running [build]
rustflags = "-l framework=Accelerate" |
Appreciate the help! I actually posted this same issue on reddit and someone suggested adding |
Hi!
I'm trying to experiment with ndarray & BLAS on macOS. Since I'm using macOS, I'd like to use the Accelerate framework, a built-in BLAS. This is my code:
and these are my dependencies:
However, the application fails to compile producing the following errors:
So it appears ndarray does not support Accelerate as a backend. Is it true, or did I miss something?
UPD:
I've just checked openblas, and I have the same problem (exactly the same error message) using the following config:
I'm using macOS
The text was updated successfully, but these errors were encountered: