[arrayfire] 161/284: Add definition for each compute type
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Sun Feb 7 18:59:29 UTC 2016
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch debian/experimental
in repository arrayfire.
commit cc00f35930e44484553c00ec679f49e3d5595db4
Author: Shehzan Mohammed <shehzan at arrayfire.com>
Date: Wed Jan 6 15:28:36 2016 -0500
Add definition for each compute type
---
src/backend/cuda/CMakeLists.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/backend/cuda/CMakeLists.txt b/src/backend/cuda/CMakeLists.txt
index 7bcc133..fee9c78 100644
--- a/src/backend/cuda/CMakeLists.txt
+++ b/src/backend/cuda/CMakeLists.txt
@@ -44,6 +44,7 @@ MACRO(SET_COMPUTE VERSION)
SET(CUDA_GENERATE_CODE_${VERSION} "-gencode arch=compute_${VERSION},code=sm_${VERSION}")
SET(CUDA_GENERATE_CODE ${CUDA_GENERATE_CODE} ${CUDA_GENERATE_CODE_${VERSION}})
LIST(APPEND COMPUTE_VERSIONS "${VERSION}")
+ ADD_DEFINITIONS(-DCUDA_COMPUTE_${VERSION})
MESSAGE(STATUS "Setting Compute ${VERSION} to ON")
ENDMACRO(SET_COMPUTE)
--
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