We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b4aebd commit 3b99fa9Copy full SHA for 3b99fa9
1 file changed
.github/workflows/main.yml
@@ -524,7 +524,14 @@ jobs:
524
if: matrix.name == 'windows-cuda' || matrix.name == 'windows-hip' || matrix.name == 'windows-sycl'
525
shell: cmd
526
run: |
527
+ setlocal enabledelayedexpansion
528
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
529
+ if "${{ matrix.name }}" == "windows-cuda" (
530
+ if not defined CUDA_PATH (
531
+ set "CUDA_PATH=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v${{ env.CUDA_VERSION }}"
532
+ )
533
+ set "PATH=!CUDA_PATH!\bin;%PATH%"
534
535
if "${{ matrix.name }}" == "windows-sycl" (
536
if exist "%ONEAPI_ROOT%\setvars.bat" (
537
call "%ONEAPI_ROOT%\setvars.bat"
0 commit comments