Skip to content

Commit e8975b8

Browse files
authored
Merge pull request #566 from wmaxey/patch-8
Fix CUDA missing crt in 13.0+
2 parents 7ada1dd + cd7971c commit e8975b8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

windows/image/installers/install-cuda.ps1

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ $cudaComponents =
3535
"nvtx_$mmVersionTag",
3636
"cuxxfilt_$mmVersionTag"
3737

38+
if ("${major}" -ge "13") {
39+
$cudaComponents += "crt_$mmVersionTag"
40+
}
41+
42+
Write-Output "Installing CUDA Components: ${cudaComponents}"
43+
3844
Invoke-WebRequest -Uri "$cudaVersionUrl" -OutFile "./cuda_network.exe" -UseBasicParsing
3945
Start-Process -Wait -PassThru -FilePath .\cuda_network.exe -ArgumentList "-s $cudaComponents"
4046

0 commit comments

Comments
 (0)