Skip to content

Commit

Permalink
Fix CUDA 12.5 issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mborland committed Dec 24, 2024
1 parent 32f046b commit fb1de16
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/cuda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:

runs-on: gpu-runner-1
container:
image: nvidia/cuda:12.5.0-devel-ubuntu24.04
image: nvidia/cuda:12.5.0-devel-ubuntu22.04
options: --gpus all

steps:
Expand Down Expand Up @@ -130,19 +130,19 @@ jobs:
run: |
nvidia-smi
nvcc --version
ls -l /usr/local/cuda-12.6/bin/nvcc
ls -l /usr/local/cuda-12.5/bin/nvcc
- name: Configure
run: |
cd ../boost-root
mkdir __build__ && cd __build__
cmake -DBOOST_INCLUDE_LIBRARIES=$LIBRARY \
-DBUILD_TESTING=ON \
-DCMAKE_CUDA_COMPILER=/usr/local/cuda-12.6/bin/nvcc \
-DCMAKE_CUDA_COMPILER=/usr/local/cuda-12.5/bin/nvcc \
-DBOOST_CRYPT_ENABLE_CUDA=1 \
-DCMAKE_CUDA_ARCHITECTURES=70 \
-DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-12.6 \
-DCUDA_PATH=/usr/local/cuda-12.6 \
-DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-12.5 \
-DCUDA_PATH=/usr/local/cuda-12.5 \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
.. \
Expand Down

0 comments on commit fb1de16

Please sign in to comment.