Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config: search for multi-threaded blis-mt #102

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions cmake/BLASFinder.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -364,8 +364,14 @@ endif()

#---------------------------------------- BLIS (also used by AMD AOCL)
if (test_blis)
list( APPEND blas_name_list "BLIS" )
list( APPEND blas_libs_list "-lflame -lblis" )
if (test_threaded)
list( APPEND blas_name_list "BLIS and FLAME, multi-threaded" )
list( APPEND blas_libs_list "-lflame -lblis-mt" )
endif()
if (test_sequential)
list( APPEND blas_name_list "BLIS and FLAME" )
list( APPEND blas_libs_list "-lflame -lblis" )
endif()
debug_print_list( "blis" )
endif()

Expand Down
8 changes: 7 additions & 1 deletion config/lapack.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,13 @@ def blas():

#-------------------- BLIS (also used by AMD AOCL)
if (test_blis):
choices.append( ['BLIS', {'LIBS': '-lflame -lblis'}])
if (test_threaded):
choices.append( ['BLIS and FLAME, multi-threaded',
{'LIBS': '-lflame -lblis-mt'}])
if (test_sequential):
choices.append( ['BLIS and FLAME',
{'LIBS': '-lflame -lblis'}])
# end blis

#-------------------- Apple Accelerate
if (test_accelerate):
Expand Down