Accelerated operations on m1 mac using blas #1265
-
I'm having trouble finding the right combination to get ndarray + blas acceleration working on mac (or how I'm checking is incorrect). Currently in dependencies of Cargo.toml I have the following lines.
My program is running alot of multiplications and additions of a 1d array with 50k elements, but gpu according to activity monitor never goes up, and speeds seem similar. I've also tried
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
The main Apple documentation page about Accelerate seems to suggest that it's CPU-only:
OpenBLAS is also CPU-only. I think all of the options provided by Also note that the Most matrix and linear algebra crates are CPU-only, but there are libraries which use the GPU. I'm not sure what options are available for the M1. |
Beta Was this translation helpful? Give feedback.
The main Apple documentation page about Accelerate seems to suggest that it's CPU-only:
OpenBLAS is also CPU-only. I think all of th…