File tree Expand file tree Collapse file tree
.github/workflows/scripts/actions Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -84,6 +84,11 @@ $VISUAL_STUDIO_YEAR = $VISUAL_STUDIO.Substring($VISUAL_STUDIO.Length-4)
8484
8585$CUDA_PACKAGES = " "
8686
87+ # CUDA 13+ separates runtime headers such as crt/host_config.h into the crt package.
88+ if ([version ]$CUDA_VERSION_FULL -ge [version ]" 13.0" -and -not ($CUDA_PACKAGES_IN -contains " crt" )) {
89+ $CUDA_PACKAGES_IN += " crt"
90+ }
91+
8792# for CUDA >= 11 cudart is a required package.
8893# if([version]$CUDA_VERSION_FULL -ge [version]"11.0") {
8994# if(-not $CUDA_PACKAGES_IN -contains "cudart") {
@@ -154,4 +159,4 @@ Write-Output "CUDA_PATH_VX_Y $($CUDA_PATH_VX_Y)"
154159
155160# PATH needs updating elsewhere, anything in here won't persist.
156161# Append $CUDA_PATH/bin to path.
157- # Set CUDA_PATH as an environmental variable
162+ # Set CUDA_PATH as an environmental variable
You can’t perform that action at this time.
0 commit comments