Hi, I am programming in c on an 32-bit ARM Cortex M4 processor and I am looking for math/linear algebra library. I can see on the "tools and library" page that ARM have a optimized BLAS and LAPACK library. However, from the documentation it is unclear for me whether it will run on my processor. Have any of you had success in running one of the libraries on a Cortex M4 processor, or do you know any alternative libraries?
Hi.
The Arm vendor BLAS and LAPACK library you refer to is Arm Performance Libraries. No, these won't work on your 32-bit Cortex-M4 as they are intended for AArch64 A-class cores.
Depending on precisely what your use-case is I'd recommend looking into CMSIS-DSP. The documentation is online at
https://arm-software.github.io/CMSIS-DSP/latest/index.html
and you can download the code from Github at
https://github.com/ARM-software/CMSIS-DSP
They don't use the BLAS and LAPACK interfaces but do cover many of the most commonly used operations that you may be interested in.
If the functionality that you're after isn't there then do let us know.
Thanks.
Chris
Hi Chris,
Thank you for the reply! I will take a look at the library.