diff options
author | Brad King <brad.king@kitware.com> | 2017-02-22 15:35:55 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-02-22 15:35:55 (GMT) |
commit | 4734c3e6dbf5cdabcfedb449e92a61471f7664b7 (patch) | |
tree | 3c21c62d3d5d0d35834050681288891849c270dc /Modules | |
parent | e9e8a5dc084b470a50ab4a16008db30022068fb0 (diff) | |
parent | 934eb497f211b2e48ba070041ba775e1ac55d01d (diff) | |
download | CMake-4734c3e6dbf5cdabcfedb449e92a61471f7664b7.zip CMake-4734c3e6dbf5cdabcfedb449e92a61471f7664b7.tar.gz CMake-4734c3e6dbf5cdabcfedb449e92a61471f7664b7.tar.bz2 |
Merge branch 'FindCUDA-fix-init' into release
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindCUDA/select_compute_arch.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
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$") |