We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d83cc98 commit 203ebe1Copy full SHA for 203ebe1
1 file changed
.github/workflows/scripts/actions/install_cuda_windows.ps1
@@ -98,9 +98,9 @@ if ([version]$CUDA_VERSION_FULL -ge [version]"13.0" -and -not ($CUDA_PACKAGES_IN
98
99
Foreach ($package in $CUDA_PACKAGES_IN) {
100
# Make sure the correct package name is used for nvcc.
101
- if($package -eq "nvcc" -and [version]$CUDA_VERSION_FULL -lt [version]"9.1"){
+ if($package -eq "nvcc" -and [version]$CUDA_VERSION_FULL -ge [version]"9.1"){
102
$package="compiler"
103
- } elseif($package -eq "compiler" -and [version]$CUDA_VERSION_FULL -ge [version]"9.1") {
+ } elseif($package -eq "compiler" -and [version]$CUDA_VERSION_FULL -lt [version]"9.1") {
104
$package="nvcc"
105
}
106
$CUDA_PACKAGES += " $($package)_$($CUDA_MAJOR).$($CUDA_MINOR)"
0 commit comments