Skip to content

Commit

Permalink
Ensure that we are testing against 11.8 and SM90
Browse files Browse the repository at this point in the history
  • Loading branch information
miscco committed Feb 9, 2024
1 parent 40878d8 commit c75420d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"binaryDir": "${sourceDir}/build/$env{CCCL_BUILD_INFIX}/${presetName}",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_CUDA_ARCHITECTURES": "60;70;80",
"CMAKE_CUDA_ARCHITECTURES": "60;70;90",
"CCCL_ENABLE_LIBCUDACXX": false,
"CCCL_ENABLE_CUB": false,
"CCCL_ENABLE_THRUST": false,
Expand Down
2 changes: 2 additions & 0 deletions ci/build_common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ CUDA_COMPILER=$(which ${CUDA_COMPILER})

if [[ -n "${CUDA_ARCHS}" ]]; then
GLOBAL_CMAKE_OPTIONS+=("-DCMAKE_CUDA_ARCHITECTURES=${CUDA_ARCHS}")
elif [[ "${CUDA_COMPILER}" =~ "11.1" ]]; then
GLOBAL_CMAKE_OPTIONS+=("-DCMAKE_CUDA_ARCHITECTURES=\"60;70;80\"")
fi

if [ $VERBOSE ]; then
Expand Down
2 changes: 2 additions & 0 deletions ci/matrix.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@

cuda_oldest: &cuda_oldest '11.1'
cuda_pre12: &cuda_pre12 '11.8'
cuda_newest: &cuda_newest '12.3'

# The GPUs to test on
Expand Down Expand Up @@ -66,6 +67,7 @@ pull_request:
- {cuda: *cuda_newest, os: 'ubuntu20.04', cpu: 'amd64', compiler: *gcc8, std: [11, 14, 17], jobs: ['build']}
- {cuda: *cuda_newest, os: 'ubuntu20.04', cpu: 'amd64', compiler: *gcc9, std: [11, 14, 17], jobs: ['build']}
- {cuda: *cuda_newest, os: 'ubuntu20.04', cpu: 'amd64', compiler: *gcc10, std: [11, 14, 17, 20], jobs: ['build']}
- {cuda: *cuda_pre12, os: 'ubuntu20.04', cpu: 'amd64', compiler: *gcc10, std: [11, 14, 17], jobs: ['build']}
- {cuda: *cuda_newest, os: 'ubuntu22.04', cpu: 'amd64', compiler: *gcc11, std: [11, 14, 17, 20], jobs: ['build']}
- {cuda: *cuda_newest, os: 'ubuntu22.04', cpu: 'amd64', compiler: *gcc12, std: [11, 14, 17, 20], jobs: ['build', 'test']}
- {cuda: *cuda_newest, os: 'ubuntu22.04', cpu: 'arm64', compiler: *gcc12, std: [11, 14, 17, 20], jobs: ['build']}
Expand Down

0 comments on commit c75420d

Please sign in to comment.