[arrayfire] 131/248: Provide option for MKL use for CUDA lapack cpu fallback
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Tue Nov 17 15:54:15 UTC 2015
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch dfsg-clean
in repository arrayfire.
commit c0b9c808b0e1ee354eb021ce5102b03fac4bc471
Author: Shehzan Mohammed <shehzan at arrayfire.com>
Date: Sun Oct 18 10:55:58 2015 -0400
Provide option for MKL use for CUDA lapack cpu fallback
---
src/backend/cuda/CMakeLists.txt | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/backend/cuda/CMakeLists.txt b/src/backend/cuda/CMakeLists.txt
index 2e231fe..bb8fca0 100644
--- a/src/backend/cuda/CMakeLists.txt
+++ b/src/backend/cuda/CMakeLists.txt
@@ -86,6 +86,10 @@ IF(${CUDA_VERSION_MAJOR} LESS 7)
ELSE(NOT LAPACK_FOUND)
MESSAGE(STATUS "CUDA Version ${CUDA_VERSION_STRING} does not contain cuSolve library. But CPU LAPACK libraries are available. Will fallback to using host side code.")
ADD_DEFINITIONS(-DWITH_CPU_LINEAR_ALGEBRA)
+ IF(USE_CUDA_MKL)
+ MESSAGE("Using MKL")
+ ADD_DEFINITIONS(-DUSE_MKL)
+ ENDIF()
ENDIF()
ELSE()
MESSAGE(STATUS "CUDA Version ${CUDA_VERSION_STRING} does not contain cuSolve library. Linear Algebra will not be available.")
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/arrayfire.git
More information about the debian-science-commits
mailing list