FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix lapack support check in CPU/OpenCL backend CMakeLists by 9prady9 · Pull Request #3027 · arrayfire/arrayfire · GitHub

Repository navigation

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .txt  (2) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
2 changes: 1 addition & 1 deletion src/backend/cpu/CMakeLists.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ else()
endif()
endif()

if(LAPACK_FOUND OR MKL_Shared_FOUND)
if(LAPACK_FOUND OR (USE_CPU_MKL AND MKL_Shared_FOUND))
target_compile_definitions(afcpu
PRIVATE
WITH_LINEAR_ALGEBRA)
Expand Down
2 changes: 1 addition & 1 deletion src/backend/opencl/CMakeLists.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ if(APPLE)
target_link_libraries(afopencl PRIVATE OpenGL::GL)
endif()

if(LAPACK_FOUND OR MKL_Shared_FOUND)
if(LAPACK_FOUND OR (USE_OPENCL_MKL AND MKL_Shared_FOUND))
target_sources(afopencl
PRIVATE
magma/gebrd.cpp
Expand Down

Back | FazBrowse Home | New Git URL