@@ -23,30 +23,31 @@ jobs:
2323 strategy :
2424 fail-fast : false
2525 matrix :
26+ cuda : ["12.8.1", "13.0.2"]
2627 include :
2728 - os : windows-latest
2829 target : x86_64-pc-windows-msvc
29- cuda : " 12.8.1"
3030 linux-local-args : []
3131 sub-packages :
3232 [
33- " nvcc" ,
34- " nvrtc" ,
35- " nvrtc_dev" ,
36- " cuda_profiler_api" ,
37- " cudart" ,
38- " cublas" ,
39- " cublas_dev" ,
40- " curand" ,
41- " curand_dev" ,
33+ # "nvcc",
34+ # "nvrtc",
35+ # "nvrtc_dev",
36+ # "cuda_profiler_api",
37+ # "cudart",
38+ # "cublas",
39+ # "cublas_dev",
40+ # "curand",
41+ # "curand_dev",
42+ # "nvvm",
4243 ]
4344
4445 steps :
4546 - name : Checkout repository
4647 uses : actions/checkout@v4
4748
4849 - name : Install CUDA
49- uses : Jimver/cuda-toolkit@v0.2.22
50+ uses : Jimver/cuda-toolkit@v0.2.29
5051 id : cuda-toolkit
5152 with :
5253 cuda : ${{ matrix.cuda }}
5758 log-file-suffix : " ${{matrix.os}}-${{matrix.cuda}}"
5859
5960 - name : List CUDA_PATH files
60- shell : pwsh
6161 run : Get-ChildItem -Path $env:CUDA_PATH -Recurse | ForEach-Object { $_.FullName }
6262
6363 # random command that forces rustup to install stuff in rust-toolchain
6868 run : rustup component add rustfmt clippy
6969
7070 - name : Update PATH to expose CUDA codegen backend
71- shell : pwsh
7271 run : |
73- echo "$env:CUDA_PATH\nvvm\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
72+ # njn: explain
73+ echo "$env:CUDA_PATH\nvvm\bin" | `
74+ Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
75+ echo "$env:CUDA_PATH\nvvm\bin\x64" | `
76+ Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
7477
7578 - name : Verify CUDA, Rust installation
7679 run : |
@@ -103,15 +106,21 @@ jobs:
103106 # Exclude crates with tests that require an NVIDIA GPU: blastoff, cudnn, cust.
104107 # Exclude crates that require cuDNN, not available on Windows CI: cudnn, cudnn-sys.
105108 - name : Test
106- run : cargo test --workspace --exclude blastoff --exclude cudnn --exclude cudnn-sys --exclude cust
109+ run : |
110+ cargo test --workspace `
111+ --exclude blastoff --exclude cudnn --exclude cudnn-sys --exclude cust
107112
108113 # Exclude crates that require cuDNN, not available on Windows CI: cudnn, cudnn-sys.
109114 # Exclude cust_raw because it triggers hundreds of warnings.
110115 - name : Check documentation
111116 env :
112117 RUSTDOCFLAGS : -Dwarnings
113- run : cargo doc --workspace --all-features --document-private-items --no-deps --exclude cudnn --exclude cudnn-sys --exclude cust_raw
118+ run : |
119+ cargo doc --workspace --all-features --document-private-items --no-deps `
120+ --exclude cudnn --exclude cudnn-sys --exclude cust_raw
114121
115122 # Disabled due to dll issues, someone with Windows knowledge needed
116123 # - name: Compiletest
117- # run: cargo run -p compiletests --release --no-default-features -- --target-arch compute_61,compute_75,compute_90
124+ # run: |
125+ # cargo run -p compiletests --release --no-default-features -- `
126+ # --target-arch compute_61,compute_75,compute_90
0 commit comments