CI: set the CUDA_ARCH env var when targetting nvptx
This commit is contained in:
parent
f3b1044375
commit
dd471d7a7e
|
@ -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"
|
Loading…
Reference in New Issue