[clfft] 17/109: Adding CUDA_PATH as an option for OPENCL_ROOT
Jérôme Kieffer
kieffer-guest at moszumanska.debian.org
Wed May 20 07:29:21 UTC 2015
This is an automated email from the git hooks/post-receive script.
kieffer-guest pushed a commit to branch debian
in repository clfft.
commit 242ba476f8afffb445a452e82338ce18fd987e7e
Author: Pavan Yalamanchili <pavan at accelereyes.com>
Date: Wed Sep 11 18:23:47 2013 -0400
Adding CUDA_PATH as an option for OPENCL_ROOT
---
src/FindOpenCL.cmake | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/FindOpenCL.cmake b/src/FindOpenCL.cmake
index 4dbb3d5..374cf0d 100644
--- a/src/FindOpenCL.cmake
+++ b/src/FindOpenCL.cmake
@@ -48,6 +48,8 @@
#-----------------------
if( DEFINED ENV{AMDAPPSDKROOT} )
set( OPENCL_ROOT $ENV{AMDAPPSDKROOT} CACHE PATH "Environment variable defining the root of OPENCL implementation" )
+elseif( DEFINED ENV{CUDA_PATH} )
+ set( OPENCL_ROOT $ENV{CUDA_PATH} CACHE PATH "Environment variable defining the root of OPENCL implementation" )
else( )
set( OPENCL_ROOT "/usr/lib" CACHE PATH "Environment variable defining the root of OPENCL implementation" )
endif( )
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/clfft.git
More information about the debian-science-commits
mailing list