Skip to content

Commit a3f5617

Browse files
committed
Test CUDA 13.0 on Windows CI.
We need to account for some CUDA 12 vs 13 differences: - new sub-packages - the location of `nvvm64_40_0.dll` - Jitver/cuda-toolkit needs updating to handle CUDA 13
1 parent 63f6089 commit a3f5617

File tree

1 file changed

+26
-6
lines changed

1 file changed

+26
-6
lines changed

.github/workflows/ci_windows.yml

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,31 +27,50 @@ jobs:
2727
- os: windows-latest
2828
target: x86_64-pc-windows-msvc
2929
cuda: "12.8.1"
30-
linux-local-args: []
30+
nvvm-dll-dir: "nvvm\\bin"
3131
sub-packages:
3232
[
33+
"cublas",
34+
"cublas_dev",
35+
"cuda_profiler_api",
36+
"cudart",
37+
"curand",
38+
"curand_dev",
3339
"nvcc",
3440
"nvrtc",
3541
"nvrtc_dev",
36-
"cuda_profiler_api",
37-
"cudart",
42+
]
43+
- os: windows-latest
44+
target: x86_64-pc-windows-msvc
45+
cuda: "13.0.2"
46+
nvvm-dll-dir: "nvvm\\bin\\x64"
47+
sub-packages:
48+
[
49+
"crt", # new subpackage in CUDA 13
3850
"cublas",
3951
"cublas_dev",
52+
"cuda_profiler_api",
53+
"cudart",
4054
"curand",
4155
"curand_dev",
56+
"nvcc",
57+
"nvptxcompiler", # new subpackage in CUDA 13
58+
"nvrtc",
59+
"nvrtc_dev",
60+
"nvvm", # new subpackage in CUDA 13
4261
]
4362

4463
steps:
4564
- name: Checkout repository
4665
uses: actions/checkout@v4
4766

4867
- name: Install CUDA
49-
uses: Jimver/[email protected].22
68+
uses: Jimver/[email protected].29
5069
id: cuda-toolkit
5170
with:
5271
cuda: ${{ matrix.cuda }}
5372
method: network
54-
linux-local-args: ${{ toJson(matrix.linux-local-args) }}
73+
linux-local-args: "[]"
5574
use-local-cache: false
5675
sub-packages: ${{ toJson(matrix.sub-packages) }}
5776
log-file-suffix: "${{matrix.os}}-${{matrix.cuda}}"
@@ -68,7 +87,8 @@ jobs:
6887

6988
- name: Update PATH to expose CUDA codegen backend
7089
run: |
71-
echo "$env:CUDA_PATH\nvvm\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
90+
echo "$env:CUDA_PATH\\${{matrix.nvvm-dll-dir}}" | `
91+
Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
7292
7393
- name: Verify CUDA, Rust installation
7494
run: |

0 commit comments

Comments
 (0)