CI: set the CUDA_ARCH env var when targetting nvptx
This commit is contained in:
parent
1c4c3de92e
commit
30c0450075
|
@ -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