Skip to content

Commit e5ab23d

Browse files
committed
[ci] GPU build uses CMAKE_CUDA_ARCHITECTURES=native
GPU driver upgrade (565.57.01) (toolkit 12.9) on the CI runner caused silent no-op of kernels compiled for sm_50. The old driver (530.30.02; toolkit 12.1) handled sm_50 code on sm_61 hardware fine.
1 parent 05efbe7 commit e5ab23d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/gpu.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
-DCMAKE_C_COMPILER=/home/evaleev/code/install/gcc/12/bin/gcc \
5151
-DCMAKE_CUDA_HOST_COMPILER=/home/evaleev/code/install/gcc/12/bin/g++ \
5252
-DCMAKE_CUDA_COMPILER=/usr/local/cuda/bin/nvcc \
53-
-DCMAKE_CUDA_ARCHITECTURES=50 \
53+
-DCMAKE_CUDA_ARCHITECTURES=native \
5454
-DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda \
5555
-DCMAKE_BUILD_TYPE=Release \
5656
-DBUILD_SHARED_LIBS=OFF \
@@ -90,7 +90,7 @@ jobs:
9090
-DCMAKE_C_COMPILER=/home/evaleev/code/install/gcc/12/bin/gcc \
9191
-DCMAKE_CUDA_HOST_COMPILER=/home/evaleev/code/install/gcc/12/bin/g++ \
9292
-DCMAKE_CUDA_COMPILER=/usr/local/cuda/bin/nvcc \
93-
-DCMAKE_CUDA_ARCHITECTURES=50 \
93+
-DCMAKE_CUDA_ARCHITECTURES=native \
9494
-DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda \
9595
-DCMAKE_PREFIX_PATH="${{github.workspace}}/install" \
9696
|| (cat CMakeFiles/CMakeConfigureLog.yaml && exit 1)

0 commit comments

Comments
 (0)