[WIP] Added support for apple accelerate as BLAS/LAPACK backend. #27
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added support for apple Accelerate. This only works on apple silicon.
Build with
cmake -DNASOQ_BLAS_BACKEND=Accelerate -DNASOQ_USE_CLAPACK=OFF .
Important: This is not fully functional as it is, and I could use some help
NASOQ_Test
executable runs and completes correctlyNASOQ_Catch2_Tests
has issues, and the outcome does not appear to be deterministic. I have seen the following:nasoq::quadprog
returns 0 and x/y/z do not match. This is most often but not always.nasoq::quadprog
returns 1 and x/y/z do not match. Rare.nasoq::quadprog
returns 1 and x/y/z do match. Also rare.Note that the above issues do not exist in the current main branch, or when building in this branch with
cmake -DNASOQ_BLAS_BACKEND=OpenBLAS -DNASOQ_USE_CLAPACK=ON .