[Cmake-commits] CMake branch, next, updated. v3.8.0-rc1-448-gd30e66c
Brad King
brad.king at kitware.com
Wed Feb 22 10:36:20 EST 2017
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, next has been updated
via d30e66c0e3e078fe43aa85db09449260226611db (commit)
via 934eb497f211b2e48ba070041ba775e1ac55d01d (commit)
from 656e56592b9aa049af9f2b9a06bf2c7fd0024cb2 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=d30e66c0e3e078fe43aa85db09449260226611db
commit d30e66c0e3e078fe43aa85db09449260226611db
Merge: 656e565 934eb49
Author: Brad King <brad.king at kitware.com>
AuthorDate: Wed Feb 22 10:36:18 2017 -0500
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Wed Feb 22 10:36:18 2017 -0500
Merge topic 'FindCUDA-fix-init' into next
934eb497 FindCUDA: Fix PTX selection with multiple architectures
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=934eb497f211b2e48ba070041ba775e1ac55d01d
commit 934eb497f211b2e48ba070041ba775e1ac55d01d
Author: Bjoern Thiel <bjoern.thiel at mpibpc.mpg.de>
AuthorDate: Wed Feb 22 09:11:34 2017 +0100
Commit: Brad King <brad.king at kitware.com>
CommitDate: Wed Feb 22 10:35:44 2017 -0500
FindCUDA: Fix PTX selection with multiple architectures
diff --git a/Modules/FindCUDA/select_compute_arch.cmake b/Modules/FindCUDA/select_compute_arch.cmake
index a96a8ca..8fb44d8 100644
--- a/Modules/FindCUDA/select_compute_arch.cmake
+++ b/Modules/FindCUDA/select_compute_arch.cmake
@@ -112,6 +112,7 @@ function(CUDA_SELECT_NVCC_ARCH_FLAGS out_variable)
list(REMOVE_DUPLICATES CUDA_ARCH_LIST)
foreach(arch_name ${CUDA_ARCH_LIST})
set(arch_bin)
+ set(arch_ptx)
set(add_ptx FALSE)
# Check to see if we are compiling PTX
if(arch_name MATCHES "(.*)\\+PTX$")
-----------------------------------------------------------------------
Summary of changes:
Modules/FindCUDA/select_compute_arch.cmake | 1 +
1 file changed, 1 insertion(+)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list