diff --git a/CMakeLists.txt b/CMakeLists.txt index e190a07a..1ab566ef 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,7 +12,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CUDA_STANDARD 17) set(CMAKE_CUDA_STANDARD_REQUIRED ON) -set(CMAKE_CUDA_ARCHITECTURES "native") +set(CMAKE_CUDA_ARCHITECTURES 50 52 60 61 70 75 80 86 89 90) if(CMAKE_BUILD_TYPE STREQUAL "Debug") # set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -G") # enable cuda-gdb (expensive) endif() diff --git a/Samples/0_Introduction/CMakeLists.txt b/Samples/0_Introduction/CMakeLists.txt index 0ae2d30f..54cbf146 100644 --- a/Samples/0_Introduction/CMakeLists.txt +++ b/Samples/0_Introduction/CMakeLists.txt @@ -6,7 +6,7 @@ project(simpleCallback LANGUAGES C CXX CUDA) find_package(CUDAToolkit REQUIRED) -set(CMAKE_CUDA_ARCHITECTURES "native") +set(CMAKE_CUDA_ARCHITECTURES 50 52 60 61 70 75 80 86 89 90) if(CMAKE_BUILD_TYPE STREQUAL "Debug") # set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -G") # enable cuda-gdb (expensive) endif() diff --git a/Samples/0_Introduction/UnifiedMemoryStreams/CMakeLists.txt b/Samples/0_Introduction/UnifiedMemoryStreams/CMakeLists.txt index 470f7834..a943b514 100644 --- a/Samples/0_Introduction/UnifiedMemoryStreams/CMakeLists.txt +++ b/Samples/0_Introduction/UnifiedMemoryStreams/CMakeLists.txt @@ -6,7 +6,7 @@ project(UnifiedMemoryStreams LANGUAGES C CXX CUDA) find_package(CUDAToolkit REQUIRED) -set(CMAKE_CUDA_ARCHITECTURES "native") +set(CMAKE_CUDA_ARCHITECTURES 50 52 60 61 70 75 80 86 89 90) if(CMAKE_BUILD_TYPE STREQUAL "Debug") # set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -G") # enable cuda-gdb (expensive) endif() diff --git a/Samples/0_Introduction/asyncAPI/CMakeLists.txt b/Samples/0_Introduction/asyncAPI/CMakeLists.txt index 7625809a..da64db72 100644 --- a/Samples/0_Introduction/asyncAPI/CMakeLists.txt +++ b/Samples/0_Introduction/asyncAPI/CMakeLists.txt @@ -6,7 +6,7 @@ project(asyncAPI LANGUAGES C CXX CUDA) find_package(CUDAToolkit REQUIRED) -set(CMAKE_CUDA_ARCHITECTURES "native") +set(CMAKE_CUDA_ARCHITECTURES 50 52 60 61 70 75 80 86 89 90) if(CMAKE_BUILD_TYPE STREQUAL "Debug") # set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -G") # enable cuda-gdb (expensive) endif() diff --git a/Samples/0_Introduction/clock/CMakeLists.txt b/Samples/0_Introduction/clock/CMakeLists.txt index 7f6ad6b1..a39f7ede 100644 --- a/Samples/0_Introduction/clock/CMakeLists.txt +++ b/Samples/0_Introduction/clock/CMakeLists.txt @@ -6,7 +6,7 @@ project(clock LANGUAGES C CXX CUDA) find_package(CUDAToolkit REQUIRED) -set(CMAKE_CUDA_ARCHITECTURES "native") +set(CMAKE_CUDA_ARCHITECTURES 50 52 60 61 70 75 80 86 89 90) if(CMAKE_BUILD_TYPE STREQUAL "Debug") # set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -G") # enable cuda-gdb (expensive) endif() diff --git a/Samples/0_Introduction/clock_nvrtc/CMakeLists.txt b/Samples/0_Introduction/clock_nvrtc/CMakeLists.txt index 3be02ac0..4748a0cd 100644 --- a/Samples/0_Introduction/clock_nvrtc/CMakeLists.txt +++ b/Samples/0_Introduction/clock_nvrtc/CMakeLists.txt @@ -6,7 +6,7 @@ project(clock_nvrtc LANGUAGES C CXX CUDA) find_package(CUDAToolkit REQUIRED) -set(CMAKE_CUDA_ARCHITECTURES "native") +set(CMAKE_CUDA_ARCHITECTURES 50 52 60 61 70 75 80 86 89 90) if(CMAKE_BUILD_TYPE STREQUAL "Debug") # set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -G") # enable cuda-gdb (expensive) endif() diff --git a/Samples/0_Introduction/cudaOpenMP/CMakeLists.txt b/Samples/0_Introduction/cudaOpenMP/CMakeLists.txt index 38b27810..b0ceec52 100644 --- a/Samples/0_Introduction/cudaOpenMP/CMakeLists.txt +++ b/Samples/0_Introduction/cudaOpenMP/CMakeLists.txt @@ -6,7 +6,7 @@ project(cudaOpenMP LANGUAGES C CXX CUDA) find_package(CUDAToolkit REQUIRED) -set(CMAKE_CUDA_ARCHITECTURES "native") +set(CMAKE_CUDA_ARCHITECTURES 50 52 60 61 70 75 80 86 89 90) if(CMAKE_BUILD_TYPE STREQUAL "Debug") # set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -G") # enable cuda-gdb (expensive) endif() diff --git a/Samples/0_Introduction/fp16ScalarProduct/CMakeLists.txt b/Samples/0_Introduction/fp16ScalarProduct/CMakeLists.txt index 543810f5..d06d4375 100644 --- a/Samples/0_Introduction/fp16ScalarProduct/CMakeLists.txt +++ b/Samples/0_Introduction/fp16ScalarProduct/CMakeLists.txt @@ -6,7 +6,7 @@ project(fp16ScalarProduct LANGUAGES C CXX CUDA) find_package(CUDAToolkit REQUIRED) -set(CMAKE_CUDA_ARCHITECTURES "native") +set(CMAKE_CUDA_ARCHITECTURES 50 52 60 61 70 75 80 86 89 90) if(CMAKE_BUILD_TYPE STREQUAL "Debug") # set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -G") # enable cuda-gdb (expensive) endif() diff --git a/Samples/0_Introduction/matrixMul/CMakeLists.txt b/Samples/0_Introduction/matrixMul/CMakeLists.txt index cfa3b181..123bb9aa 100644 --- a/Samples/0_Introduction/matrixMul/CMakeLists.txt +++ b/Samples/0_Introduction/matrixMul/CMakeLists.txt @@ -6,7 +6,7 @@ project(matrixMul LANGUAGES C CXX CUDA) find_package(CUDAToolkit REQUIRED) -set(CMAKE_CUDA_ARCHITECTURES "native") +set(CMAKE_CUDA_ARCHITECTURES 50 52 60 61 70 75 80 86 89 90) if(CMAKE_BUILD_TYPE STREQUAL "Debug") # set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -G") # enable cuda-gdb (expensive) endif() diff --git a/Samples/0_Introduction/matrixMulDrv/CMakeLists.txt b/Samples/0_Introduction/matrixMulDrv/CMakeLists.txt index c2cb9ba7..00846529 100644 --- a/Samples/0_Introduction/matrixMulDrv/CMakeLists.txt +++ b/Samples/0_Introduction/matrixMulDrv/CMakeLists.txt @@ -6,7 +6,7 @@ project(matrixMulDrv LANGUAGES C CXX CUDA) find_package(CUDAToolkit REQUIRED) -set(CMAKE_CUDA_ARCHITECTURES "native") +set(CMAKE_CUDA_ARCHITECTURES 50 52 60 61 70 75 80 86 89 90) if(CMAKE_BUILD_TYPE STREQUAL "Debug") # set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -G") # enable cuda-gdb (expensive) endif() diff --git a/Samples/0_Introduction/matrixMulDynlinkJIT/CMakeLists.txt b/Samples/0_Introduction/matrixMulDynlinkJIT/CMakeLists.txt index ea2f6221..bd493aa6 100644 --- a/Samples/0_Introduction/matrixMulDynlinkJIT/CMakeLists.txt +++ b/Samples/0_Introduction/matrixMulDynlinkJIT/CMakeLists.txt @@ -6,7 +6,7 @@ project(matrixMulDynlinkJIT LANGUAGES C CXX CUDA) find_package(CUDAToolkit REQUIRED) -set(CMAKE_CUDA_ARCHITECTURES "native") +set(CMAKE_CUDA_ARCHITECTURES 50 52 60 61 70 75 80 86 89 90) if(CMAKE_BUILD_TYPE STREQUAL "Debug") # set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -G") # enable cuda-gdb (expensive) endif() diff --git a/Samples/0_Introduction/matrixMul_nvrtc/CMakeLists.txt b/Samples/0_Introduction/matrixMul_nvrtc/CMakeLists.txt index f2c936f4..c92ed81a 100644 --- a/Samples/0_Introduction/matrixMul_nvrtc/CMakeLists.txt +++ b/Samples/0_Introduction/matrixMul_nvrtc/CMakeLists.txt @@ -6,7 +6,7 @@ project(matrixMul_nvrtc LANGUAGES C CXX CUDA) find_package(CUDAToolkit REQUIRED) -set(CMAKE_CUDA_ARCHITECTURES "native") +set(CMAKE_CUDA_ARCHITECTURES 50 52 60 61 70 75 80 86 89 90) if(CMAKE_BUILD_TYPE STREQUAL "Debug") # set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -G") # enable cuda-gdb (expensive) endif() diff --git a/Samples/0_Introduction/mergeSort/CMakeLists.txt b/Samples/0_Introduction/mergeSort/CMakeLists.txt index d0843206..10da4247 100644 --- a/Samples/0_Introduction/mergeSort/CMakeLists.txt +++ b/Samples/0_Introduction/mergeSort/CMakeLists.txt @@ -6,7 +6,7 @@ project(mergeSort LANGUAGES C CXX CUDA) find_package(CUDAToolkit REQUIRED) -set(CMAKE_CUDA_ARCHITECTURES "native") +set(CMAKE_CUDA_ARCHITECTURES 50 52 60 61 70 75 80 86 89 90) if(CMAKE_BUILD_TYPE STREQUAL "Debug") # set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -G") # enable cuda-gdb (expensive) endif() diff --git a/Samples/0_Introduction/simpleAWBarrier/CMakeLists.txt b/Samples/0_Introduction/simpleAWBarrier/CMakeLists.txt index b44725fd..750ff846 100644 --- a/Samples/0_Introduction/simpleAWBarrier/CMakeLists.txt +++ b/Samples/0_Introduction/simpleAWBarrier/CMakeLists.txt @@ -6,7 +6,7 @@ project(simpleAWBarrier LANGUAGES C CXX CUDA) find_package(CUDAToolkit REQUIRED) -set(CMAKE_CUDA_ARCHITECTURES "native") +set(CMAKE_CUDA_ARCHITECTURES 50 52 60 61 70 75 80 86 89 90) if(CMAKE_BUILD_TYPE STREQUAL "Debug") # set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -G") # enable cuda-gdb (expensive) endif() diff --git a/Samples/0_Introduction/simpleAssert/CMakeLists.txt b/Samples/0_Introduction/simpleAssert/CMakeLists.txt index f3df5d16..9b563d51 100644 --- a/Samples/0_Introduction/simpleAssert/CMakeLists.txt +++ b/Samples/0_Introduction/simpleAssert/CMakeLists.txt @@ -6,7 +6,7 @@ project(simpleAssert LANGUAGES C CXX CUDA) find_package(CUDAToolkit REQUIRED) -set(CMAKE_CUDA_ARCHITECTURES "native") +set(CMAKE_CUDA_ARCHITECTURES 50 52 60 61 70 75 80 86 89 90) if(CMAKE_BUILD_TYPE STREQUAL "Debug") # set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -G") # enable cuda-gdb (expensive) endif() diff --git a/Samples/0_Introduction/simpleAssert_nvrtc/CMakeLists.txt b/Samples/0_Introduction/simpleAssert_nvrtc/CMakeLists.txt index 3d9c8bb2..2febc5d8 100644 --- a/Samples/0_Introduction/simpleAssert_nvrtc/CMakeLists.txt +++ b/Samples/0_Introduction/simpleAssert_nvrtc/CMakeLists.txt @@ -6,7 +6,7 @@ project(simpleAssert_nvrtc LANGUAGES C CXX CUDA) find_package(CUDAToolkit REQUIRED) -set(CMAKE_CUDA_ARCHITECTURES "native") +set(CMAKE_CUDA_ARCHITECTURES 50 52 60 61 70 75 80 86 89 90) if(CMAKE_BUILD_TYPE STREQUAL "Debug") # set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -G") # enable cuda-gdb (expensive) endif() diff --git a/Samples/0_Introduction/simpleAtomicIntrinsics/CMakeLists.txt b/Samples/0_Introduction/simpleAtomicIntrinsics/CMakeLists.txt index 76b11433..6abb88a3 100644 --- a/Samples/0_Introduction/simpleAtomicIntrinsics/CMakeLists.txt +++ b/Samples/0_Introduction/simpleAtomicIntrinsics/CMakeLists.txt @@ -6,7 +6,7 @@ project(simpleAtomicIntrinsics LANGUAGES C CXX CUDA) find_package(CUDAToolkit REQUIRED) -set(CMAKE_CUDA_ARCHITECTURES "native") +set(CMAKE_CUDA_ARCHITECTURES 50 52 60 61 70 75 80 86 89 90) if(CMAKE_BUILD_TYPE STREQUAL "Debug") # set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -G") # enable cuda-gdb (expensive) endif() diff --git a/Samples/0_Introduction/simpleAtomicIntrinsics_nvrtc/CMakeLists.txt b/Samples/0_Introduction/simpleAtomicIntrinsics_nvrtc/CMakeLists.txt index 928fb0ee..1fa0e9d7 100644 --- a/Samples/0_Introduction/simpleAtomicIntrinsics_nvrtc/CMakeLists.txt +++ b/Samples/0_Introduction/simpleAtomicIntrinsics_nvrtc/CMakeLists.txt @@ -6,7 +6,7 @@ project(simpleAtomicIntrinsics_nvrtc LANGUAGES C CXX CUDA) find_package(CUDAToolkit REQUIRED) -set(CMAKE_CUDA_ARCHITECTURES "native") +set(CMAKE_CUDA_ARCHITECTURES 50 52 60 61 70 75 80 86 89 90) if(CMAKE_BUILD_TYPE STREQUAL "Debug") # set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -G") # enable cuda-gdb (expensive) endif() diff --git a/Samples/0_Introduction/simpleAttributes/CMakeLists.txt b/Samples/0_Introduction/simpleAttributes/CMakeLists.txt index 630f66c2..36d136ba 100644 --- a/Samples/0_Introduction/simpleAttributes/CMakeLists.txt +++ b/Samples/0_Introduction/simpleAttributes/CMakeLists.txt @@ -6,7 +6,7 @@ project(simpleAttributes LANGUAGES C CXX CUDA) find_package(CUDAToolkit REQUIRED) -set(CMAKE_CUDA_ARCHITECTURES "native") +set(CMAKE_CUDA_ARCHITECTURES 50 52 60 61 70 75 80 86 89 90) if(CMAKE_BUILD_TYPE STREQUAL "Debug") # set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -G") # enable cuda-gdb (expensive) endif() diff --git a/Samples/0_Introduction/simpleCUDA2GL/CMakeLists.txt b/Samples/0_Introduction/simpleCUDA2GL/CMakeLists.txt index bab3bea7..85929564 100644 --- a/Samples/0_Introduction/simpleCUDA2GL/CMakeLists.txt +++ b/Samples/0_Introduction/simpleCUDA2GL/CMakeLists.txt @@ -6,7 +6,7 @@ project(simpleCUDA2GL LANGUAGES C CXX CUDA) find_package(CUDAToolkit REQUIRED) -set(CMAKE_CUDA_ARCHITECTURES "native") +set(CMAKE_CUDA_ARCHITECTURES 50 52 60 61 70 75 80 86 89 90) if(CMAKE_BUILD_TYPE STREQUAL "Debug") # set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -G") # enable cuda-gdb (expensive) endif() diff --git a/Samples/0_Introduction/simpleCallback/CMakeLists.txt b/Samples/0_Introduction/simpleCallback/CMakeLists.txt index 5dae6646..262353a9 100644 --- a/Samples/0_Introduction/simpleCallback/CMakeLists.txt +++ b/Samples/0_Introduction/simpleCallback/CMakeLists.txt @@ -6,7 +6,7 @@ project(simpleCallback LANGUAGES C CXX CUDA) find_package(CUDAToolkit REQUIRED) -set(CMAKE_CUDA_ARCHITECTURES "native") +set(CMAKE_CUDA_ARCHITECTURES 50 52 60 61 70 75 80 86 89 90) if(CMAKE_BUILD_TYPE STREQUAL "Debug") # set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -G") # enable cuda-gdb (expensive) endif() diff --git a/Samples/0_Introduction/simpleCooperativeGroups/CMakeLists.txt b/Samples/0_Introduction/simpleCooperativeGroups/CMakeLists.txt index 8459b54c..4da341e6 100644 --- a/Samples/0_Introduction/simpleCooperativeGroups/CMakeLists.txt +++ b/Samples/0_Introduction/simpleCooperativeGroups/CMakeLists.txt @@ -6,7 +6,7 @@ project(simpleCooperativeGroups LANGUAGES C CXX CUDA) find_package(CUDAToolkit REQUIRED) -set(CMAKE_CUDA_ARCHITECTURES "native") +set(CMAKE_CUDA_ARCHITECTURES 50 52 60 61 70 75 80 86 89 90) if(CMAKE_BUILD_TYPE STREQUAL "Debug") # set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -G") # enable cuda-gdb (expensive) endif() diff --git a/Samples/0_Introduction/simpleCubemapTexture/CMakeLists.txt b/Samples/0_Introduction/simpleCubemapTexture/CMakeLists.txt index 50277e0d..72a04467 100644 --- a/Samples/0_Introduction/simpleCubemapTexture/CMakeLists.txt +++ b/Samples/0_Introduction/simpleCubemapTexture/CMakeLists.txt @@ -6,7 +6,7 @@ project(simpleCubemapTexture LANGUAGES C CXX CUDA) find_package(CUDAToolkit REQUIRED) -set(CMAKE_CUDA_ARCHITECTURES "native") +set(CMAKE_CUDA_ARCHITECTURES 50 52 60 61 70 75 80 86 89 90) if(CMAKE_BUILD_TYPE STREQUAL "Debug") # set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -G") # enable cuda-gdb (expensive) endif() diff --git a/Samples/0_Introduction/simpleDrvRuntime/CMakeLists.txt b/Samples/0_Introduction/simpleDrvRuntime/CMakeLists.txt index 83cd6258..cc183673 100644 --- a/Samples/0_Introduction/simpleDrvRuntime/CMakeLists.txt +++ b/Samples/0_Introduction/simpleDrvRuntime/CMakeLists.txt @@ -6,7 +6,7 @@ project(simpleDrvRuntime LANGUAGES C CXX CUDA) find_package(CUDAToolkit REQUIRED) -set(CMAKE_CUDA_ARCHITECTURES "native") +set(CMAKE_CUDA_ARCHITECTURES 50 52 60 61 70 75 80 86 89 90) if(CMAKE_BUILD_TYPE STREQUAL "Debug") # set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -G") # enable cuda-gdb (expensive) endif() diff --git a/Samples/0_Introduction/simpleHyperQ/CMakeLists.txt b/Samples/0_Introduction/simpleHyperQ/CMakeLists.txt index 7f1157b9..9966979a 100644 --- a/Samples/0_Introduction/simpleHyperQ/CMakeLists.txt +++ b/Samples/0_Introduction/simpleHyperQ/CMakeLists.txt @@ -6,7 +6,7 @@ project(simpleHyperQ LANGUAGES C CXX CUDA) find_package(CUDAToolkit REQUIRED) -set(CMAKE_CUDA_ARCHITECTURES "native") +set(CMAKE_CUDA_ARCHITECTURES 50 52 60 61 70 75 80 86 89 90) if(CMAKE_BUILD_TYPE STREQUAL "Debug") # set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -G") # enable cuda-gdb (expensive) endif() diff --git a/Samples/0_Introduction/simpleIPC/CMakeLists.txt b/Samples/0_Introduction/simpleIPC/CMakeLists.txt index cefd36f8..546de001 100644 --- a/Samples/0_Introduction/simpleIPC/CMakeLists.txt +++ b/Samples/0_Introduction/simpleIPC/CMakeLists.txt @@ -6,7 +6,7 @@ project(simpleIPC LANGUAGES C CXX CUDA) find_package(CUDAToolkit REQUIRED) -set(CMAKE_CUDA_ARCHITECTURES "native") +set(CMAKE_CUDA_ARCHITECTURES 50 52 60 61 70 75 80 86 89 90) if(CMAKE_BUILD_TYPE STREQUAL "Debug") # set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -G") # enable cuda-gdb (expensive) endif() diff --git a/Samples/0_Introduction/simpleLayeredTexture/CMakeLists.txt b/Samples/0_Introduction/simpleLayeredTexture/CMakeLists.txt index 772ed79c..0416fd60 100644 --- a/Samples/0_Introduction/simpleLayeredTexture/CMakeLists.txt +++ b/Samples/0_Introduction/simpleLayeredTexture/CMakeLists.txt @@ -6,7 +6,7 @@ project(simpleLayeredTexture LANGUAGES C CXX CUDA) find_package(CUDAToolkit REQUIRED) -set(CMAKE_CUDA_ARCHITECTURES "native") +set(CMAKE_CUDA_ARCHITECTURES 50 52 60 61 70 75 80 86 89 90) if(CMAKE_BUILD_TYPE STREQUAL "Debug") # set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -G") # enable cuda-gdb (expensive) endif() diff --git a/Samples/0_Introduction/simpleMPI/CMakeLists.txt b/Samples/0_Introduction/simpleMPI/CMakeLists.txt index 87d64144..f7c07ac4 100644 --- a/Samples/0_Introduction/simpleMPI/CMakeLists.txt +++ b/Samples/0_Introduction/simpleMPI/CMakeLists.txt @@ -6,7 +6,7 @@ project(simpleMPI LANGUAGES C CXX CUDA) find_package(CUDAToolkit REQUIRED) -set(CMAKE_CUDA_ARCHITECTURES "native") +set(CMAKE_CUDA_ARCHITECTURES 50 52 60 61 70 75 80 86 89 90) if(CMAKE_BUILD_TYPE STREQUAL "Debug") # set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -G") # enable cuda-gdb (expensive) endif() diff --git a/Samples/0_Introduction/simpleMultiCopy/CMakeLists.txt b/Samples/0_Introduction/simpleMultiCopy/CMakeLists.txt index 28734922..ea479d3f 100644 --- a/Samples/0_Introduction/simpleMultiCopy/CMakeLists.txt +++ b/Samples/0_Introduction/simpleMultiCopy/CMakeLists.txt @@ -6,7 +6,7 @@ project(simpleMultiCopy LANGUAGES C CXX CUDA) find_package(CUDAToolkit REQUIRED) -set(CMAKE_CUDA_ARCHITECTURES "native") +set(CMAKE_CUDA_ARCHITECTURES 50 52 60 61 70 75 80 86 89 90) if(CMAKE_BUILD_TYPE STREQUAL "Debug") # set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -G") # enable cuda-gdb (expensive) endif() diff --git a/Samples/0_Introduction/simpleMultiGPU/CMakeLists.txt b/Samples/0_Introduction/simpleMultiGPU/CMakeLists.txt index e77c5ddc..dfabe4ba 100644 --- a/Samples/0_Introduction/simpleMultiGPU/CMakeLists.txt +++ b/Samples/0_Introduction/simpleMultiGPU/CMakeLists.txt @@ -6,7 +6,7 @@ project(simpleMultiGPU LANGUAGES C CXX CUDA) find_package(CUDAToolkit REQUIRED) -set(CMAKE_CUDA_ARCHITECTURES "native") +set(CMAKE_CUDA_ARCHITECTURES 50 52 60 61 70 75 80 86 89 90) if(CMAKE_BUILD_TYPE STREQUAL "Debug") # set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -G") # enable cuda-gdb (expensive) endif() diff --git a/Samples/0_Introduction/simpleOccupancy/CMakeLists.txt b/Samples/0_Introduction/simpleOccupancy/CMakeLists.txt index d842a78b..395a0c2e 100644 --- a/Samples/0_Introduction/simpleOccupancy/CMakeLists.txt +++ b/Samples/0_Introduction/simpleOccupancy/CMakeLists.txt @@ -6,7 +6,7 @@ project(simpleOccupancy LANGUAGES C CXX CUDA) find_package(CUDAToolkit REQUIRED) -set(CMAKE_CUDA_ARCHITECTURES "native") +set(CMAKE_CUDA_ARCHITECTURES 50 52 60 61 70 75 80 86 89 90) if(CMAKE_BUILD_TYPE STREQUAL "Debug") # set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -G") # enable cuda-gdb (expensive) endif() diff --git a/Samples/0_Introduction/simpleP2P/CMakeLists.txt b/Samples/0_Introduction/simpleP2P/CMakeLists.txt index e310bd7a..767c353b 100644 --- a/Samples/0_Introduction/simpleP2P/CMakeLists.txt +++ b/Samples/0_Introduction/simpleP2P/CMakeLists.txt @@ -6,7 +6,7 @@ project(simpleP2P LANGUAGES C CXX CUDA) find_package(CUDAToolkit REQUIRED) -set(CMAKE_CUDA_ARCHITECTURES "native") +set(CMAKE_CUDA_ARCHITECTURES 50 52 60 61 70 75 80 86 89 90) if(CMAKE_BUILD_TYPE STREQUAL "Debug") # set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -G") # enable cuda-gdb (expensive) endif() diff --git a/Samples/0_Introduction/simplePitchLinearTexture/CMakeLists.txt b/Samples/0_Introduction/simplePitchLinearTexture/CMakeLists.txt index 0e8e93d2..582615e7 100644 --- a/Samples/0_Introduction/simplePitchLinearTexture/CMakeLists.txt +++ b/Samples/0_Introduction/simplePitchLinearTexture/CMakeLists.txt @@ -6,7 +6,7 @@ project(simplePitchLinearTexture LANGUAGES C CXX CUDA) find_package(CUDAToolkit REQUIRED) -set(CMAKE_CUDA_ARCHITECTURES "native") +set(CMAKE_CUDA_ARCHITECTURES 50 52 60 61 70 75 80 86 89 90) if(CMAKE_BUILD_TYPE STREQUAL "Debug") # set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -G") # enable cuda-gdb (expensive) endif() diff --git a/Samples/0_Introduction/simplePrintf/CMakeLists.txt b/Samples/0_Introduction/simplePrintf/CMakeLists.txt index e012c093..8d1ddf47 100644 --- a/Samples/0_Introduction/simplePrintf/CMakeLists.txt +++ b/Samples/0_Introduction/simplePrintf/CMakeLists.txt @@ -6,7 +6,7 @@ project(simplePrintf LANGUAGES C CXX CUDA) find_package(CUDAToolkit REQUIRED) -set(CMAKE_CUDA_ARCHITECTURES "native") +set(CMAKE_CUDA_ARCHITECTURES 50 52 60 61 70 75 80 86 89 90) if(CMAKE_BUILD_TYPE STREQUAL "Debug") # set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -G") # enable cuda-gdb (expensive) endif() diff --git a/Samples/0_Introduction/simpleStreams/CMakeLists.txt b/Samples/0_Introduction/simpleStreams/CMakeLists.txt index cc6250bd..413e7fde 100644 --- a/Samples/0_Introduction/simpleStreams/CMakeLists.txt +++ b/Samples/0_Introduction/simpleStreams/CMakeLists.txt @@ -6,7 +6,7 @@ project(simpleStreams LANGUAGES C CXX CUDA) find_package(CUDAToolkit REQUIRED) -set(CMAKE_CUDA_ARCHITECTURES "native") +set(CMAKE_CUDA_ARCHITECTURES 50 52 60 61 70 75 80 86 89 90) if(CMAKE_BUILD_TYPE STREQUAL "Debug") # set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -G") # enable cuda-gdb (expensive) endif() diff --git a/Samples/0_Introduction/simpleSurfaceWrite/CMakeLists.txt b/Samples/0_Introduction/simpleSurfaceWrite/CMakeLists.txt index 4550c29b..5cc99bc6 100644 --- a/Samples/0_Introduction/simpleSurfaceWrite/CMakeLists.txt +++ b/Samples/0_Introduction/simpleSurfaceWrite/CMakeLists.txt @@ -6,7 +6,7 @@ project(simpleSurfaceWrite LANGUAGES C CXX CUDA) find_package(CUDAToolkit REQUIRED) -set(CMAKE_CUDA_ARCHITECTURES "native") +set(CMAKE_CUDA_ARCHITECTURES 50 52 60 61 70 75 80 86 89 90) if(CMAKE_BUILD_TYPE STREQUAL "Debug") # set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -G") # enable cuda-gdb (expensive) endif() diff --git a/Samples/0_Introduction/simpleTemplates/CMakeLists.txt b/Samples/0_Introduction/simpleTemplates/CMakeLists.txt index cbaff88a..bc22b4c8 100644 --- a/Samples/0_Introduction/simpleTemplates/CMakeLists.txt +++ b/Samples/0_Introduction/simpleTemplates/CMakeLists.txt @@ -6,7 +6,7 @@ project(simpleTemplates LANGUAGES C CXX CUDA) find_package(CUDAToolkit REQUIRED) -set(CMAKE_CUDA_ARCHITECTURES "native") +set(CMAKE_CUDA_ARCHITECTURES 50 52 60 61 70 75 80 86 89 90) if(CMAKE_BUILD_TYPE STREQUAL "Debug") # set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -G") # enable cuda-gdb (expensive) endif() diff --git a/Samples/0_Introduction/simpleTexture/CMakeLists.txt b/Samples/0_Introduction/simpleTexture/CMakeLists.txt index f2ac9dc3..8b9f66b0 100644 --- a/Samples/0_Introduction/simpleTexture/CMakeLists.txt +++ b/Samples/0_Introduction/simpleTexture/CMakeLists.txt @@ -6,7 +6,7 @@ project(simpleTexture LANGUAGES C CXX CUDA) find_package(CUDAToolkit REQUIRED) -set(CMAKE_CUDA_ARCHITECTURES "native") +set(CMAKE_CUDA_ARCHITECTURES 50 52 60 61 70 75 80 86 89 90) if(CMAKE_BUILD_TYPE STREQUAL "Debug") # set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -G") # enable cuda-gdb (expensive) endif() diff --git a/Samples/0_Introduction/simpleTexture3D/CMakeLists.txt b/Samples/0_Introduction/simpleTexture3D/CMakeLists.txt index 6ee55ec2..d5af2f9a 100644 --- a/Samples/0_Introduction/simpleTexture3D/CMakeLists.txt +++ b/Samples/0_Introduction/simpleTexture3D/CMakeLists.txt @@ -6,7 +6,7 @@ project(simpleTexture3D LANGUAGES C CXX CUDA) find_package(CUDAToolkit REQUIRED) -set(CMAKE_CUDA_ARCHITECTURES "native") +set(CMAKE_CUDA_ARCHITECTURES 50 52 60 61 70 75 80 86 89 90) if(CMAKE_BUILD_TYPE STREQUAL "Debug") # set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -G") # enable cuda-gdb (expensive) endif() diff --git a/Samples/0_Introduction/simpleTextureDrv/CMakeLists.txt b/Samples/0_Introduction/simpleTextureDrv/CMakeLists.txt index 135179e7..64a60905 100644 --- a/Samples/0_Introduction/simpleTextureDrv/CMakeLists.txt +++ b/Samples/0_Introduction/simpleTextureDrv/CMakeLists.txt @@ -6,7 +6,7 @@ project(simpleTextureDrv LANGUAGES C CXX CUDA) find_package(CUDAToolkit REQUIRED) -set(CMAKE_CUDA_ARCHITECTURES "native") +set(CMAKE_CUDA_ARCHITECTURES 50 52 60 61 70 75 80 86 89 90) if(CMAKE_BUILD_TYPE STREQUAL "Debug") # set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -G") # enable cuda-gdb (expensive) endif() diff --git a/Samples/0_Introduction/simpleVoteIntrinsics/CMakeLists.txt b/Samples/0_Introduction/simpleVoteIntrinsics/CMakeLists.txt index 641087ff..4842510c 100644 --- a/Samples/0_Introduction/simpleVoteIntrinsics/CMakeLists.txt +++ b/Samples/0_Introduction/simpleVoteIntrinsics/CMakeLists.txt @@ -6,7 +6,7 @@ project(simpleVoteIntrinsics LANGUAGES C CXX CUDA) find_package(CUDAToolkit REQUIRED) -set(CMAKE_CUDA_ARCHITECTURES "native") +set(CMAKE_CUDA_ARCHITECTURES 50 52 60 61 70 75 80 86 89 90) if(CMAKE_BUILD_TYPE STREQUAL "Debug") # set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -G") # enable cuda-gdb (expensive) endif() diff --git a/Samples/0_Introduction/simpleZeroCopy/CMakeLists.txt b/Samples/0_Introduction/simpleZeroCopy/CMakeLists.txt index 18dba6eb..fb181bc5 100644 --- a/Samples/0_Introduction/simpleZeroCopy/CMakeLists.txt +++ b/Samples/0_Introduction/simpleZeroCopy/CMakeLists.txt @@ -6,7 +6,7 @@ project(simpleZeroCopy LANGUAGES C CXX CUDA) find_package(CUDAToolkit REQUIRED) -set(CMAKE_CUDA_ARCHITECTURES "native") +set(CMAKE_CUDA_ARCHITECTURES 50 52 60 61 70 75 80 86 89 90) if(CMAKE_BUILD_TYPE STREQUAL "Debug") # set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -G") # enable cuda-gdb (expensive) endif() diff --git a/Samples/0_Introduction/systemWideAtomics/CMakeLists.txt b/Samples/0_Introduction/systemWideAtomics/CMakeLists.txt index 5773f994..935ac5d1 100644 --- a/Samples/0_Introduction/systemWideAtomics/CMakeLists.txt +++ b/Samples/0_Introduction/systemWideAtomics/CMakeLists.txt @@ -6,7 +6,7 @@ project(systemWideAtomics LANGUAGES C CXX CUDA) find_package(CUDAToolkit REQUIRED) -set(CMAKE_CUDA_ARCHITECTURES "native") +set(CMAKE_CUDA_ARCHITECTURES 50 52 60 61 70 75 80 86 89 90) if(CMAKE_BUILD_TYPE STREQUAL "Debug") # set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -G") # enable cuda-gdb (expensive) endif() diff --git a/Samples/0_Introduction/template/CMakeLists.txt b/Samples/0_Introduction/template/CMakeLists.txt index e38519dc..14184e65 100644 --- a/Samples/0_Introduction/template/CMakeLists.txt +++ b/Samples/0_Introduction/template/CMakeLists.txt @@ -6,7 +6,7 @@ project(template LANGUAGES C CXX CUDA) find_package(CUDAToolkit REQUIRED) -set(CMAKE_CUDA_ARCHITECTURES "native") +set(CMAKE_CUDA_ARCHITECTURES 50 52 60 61 70 75 80 86 89 90) if(CMAKE_BUILD_TYPE STREQUAL "Debug") # set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -G") # enable cuda-gdb (expensive) endif() diff --git a/Samples/0_Introduction/vectorAdd/CMakeLists.txt b/Samples/0_Introduction/vectorAdd/CMakeLists.txt index 8a3d1e12..4bf61114 100644 --- a/Samples/0_Introduction/vectorAdd/CMakeLists.txt +++ b/Samples/0_Introduction/vectorAdd/CMakeLists.txt @@ -6,7 +6,7 @@ project(vectorAdd LANGUAGES C CXX CUDA) find_package(CUDAToolkit REQUIRED) -set(CMAKE_CUDA_ARCHITECTURES "native") +set(CMAKE_CUDA_ARCHITECTURES 50 52 60 61 70 75 80 86 89 90) if(CMAKE_BUILD_TYPE STREQUAL "Debug") # set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -G") # enable cuda-gdb (expensive) endif() diff --git a/Samples/0_Introduction/vectorAddDrv/CMakeLists.txt b/Samples/0_Introduction/vectorAddDrv/CMakeLists.txt index 7105513e..3ad48df5 100644 --- a/Samples/0_Introduction/vectorAddDrv/CMakeLists.txt +++ b/Samples/0_Introduction/vectorAddDrv/CMakeLists.txt @@ -6,7 +6,7 @@ project(vectorAddDrv LANGUAGES C CXX CUDA) find_package(CUDAToolkit REQUIRED) -set(CMAKE_CUDA_ARCHITECTURES "native") +set(CMAKE_CUDA_ARCHITECTURES 50 52 60 61 70 75 80 86 89 90) if(CMAKE_BUILD_TYPE STREQUAL "Debug") # set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -G") # enable cuda-gdb (expensive) endif() diff --git a/Samples/0_Introduction/vectorAddMMAP/CMakeLists.txt b/Samples/0_Introduction/vectorAddMMAP/CMakeLists.txt index 403b36d6..b4748485 100644 --- a/Samples/0_Introduction/vectorAddMMAP/CMakeLists.txt +++ b/Samples/0_Introduction/vectorAddMMAP/CMakeLists.txt @@ -6,7 +6,7 @@ project(vectorAddMMAP LANGUAGES C CXX CUDA) find_package(CUDAToolkit REQUIRED) -set(CMAKE_CUDA_ARCHITECTURES "native") +set(CMAKE_CUDA_ARCHITECTURES 50 52 60 61 70 75 80 86 89 90) if(CMAKE_BUILD_TYPE STREQUAL "Debug") # set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -G") # enable cuda-gdb (expensive) endif() diff --git a/Samples/0_Introduction/vectorAdd_nvrtc/CMakeLists.txt b/Samples/0_Introduction/vectorAdd_nvrtc/CMakeLists.txt index 1babe2a7..c2510a4f 100644 --- a/Samples/0_Introduction/vectorAdd_nvrtc/CMakeLists.txt +++ b/Samples/0_Introduction/vectorAdd_nvrtc/CMakeLists.txt @@ -6,7 +6,7 @@ project(vectorAdd_nvrtc LANGUAGES C CXX CUDA) find_package(CUDAToolkit REQUIRED) -set(CMAKE_CUDA_ARCHITECTURES "native") +set(CMAKE_CUDA_ARCHITECTURES 50 52 60 61 70 75 80 86 89 90) if(CMAKE_BUILD_TYPE STREQUAL "Debug") # set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -G") # enable cuda-gdb (expensive) endif()