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

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"