CI: set the CUDA_ARCH env var when targetting nvptx

This commit is contained in:
Sébastien Crozet 2022-03-11 18:06:40 +01:00
parent 1c4c3de92e
commit 30c0450075
1 changed files with 3 additions and 1 deletions

View File

@ -134,4 +134,6 @@ jobs:
- uses: actions/checkout@v2
- run: rustup target add nvptx64-nvidia-cuda
- run: cargo build --no-default-features --features cuda
- run: cargo build --no-default-features --features cuda --target=nvptx64-nvidia-cuda
- run: cargo build --no-default-features --features cuda --target=nvptx64-nvidia-cuda
env:
CUDA_ARCH: "350"