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 committed by Saurabh
parent f3b1044375
commit dd471d7a7e
1 changed files with 3 additions and 1 deletions

View File

@ -135,3 +135,5 @@ jobs:
- 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
env:
CUDA_ARCH: "350"