Skip to content

Commit

Permalink
setting accelerate threads to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
HasKha committed Apr 15, 2024
1 parent 3d1497c commit 61aff29
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ elseif(NASOQ_USE_BLAS_Accelerate)
target_link_libraries(nasoq PRIVATE BLAS::BLAS)
target_link_libraries(nasoq PRIVATE LAPACK::LAPACK)
target_compile_definitions(nasoq PRIVATE "ACCELERATE")
target_compile_definitions(nasoq PRIVATE "VECLIB_MAXIMUM_THREADS=1")
target_compile_definitions(nasoq PUBLIC "ACCELERATE_NEW_LAPACK")
endif()

Expand Down

0 comments on commit 61aff29

Please sign in to comment.