Skip to content

Commit

Permalink
warn about bugs in Apple Accelerate in cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
alfC committed Apr 19, 2024
1 parent d176936 commit e750f89
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/multi/adaptors/blas/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ if(BLAS_FOUND)
endif()
if(${lib} MATCHES "Accelerate")
message("Some BLAS found matches Accelerate (Apple)")
message(WARNING "Apple Accelerate BLAS is know to have bugs in single precission function `sdot` and `smrm2`, be careful: https://stackoverflow.com/a/77017238/225186, https://fortran-lang.discourse.group/t/how-many-blas-libraries-have-this-error/4454/23, https://forums.developer.apple.com/forums/thread/717757")
add_definitions(-DBLAS_DOT_RETURNS_VOID)
endif()
endforeach()
Expand Down

0 comments on commit e750f89

Please sign in to comment.