Skip to content

Commit 7dbd1ea

Browse files
committed
Enable xpu windows CD
1 parent 6d7851b commit 7dbd1ea

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.github/workflows/build-wheels-windows.yml

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
os: windows
2626
test-infra-repository: pytorch/test-infra
2727
test-infra-ref: main
28+
with-xpu: enable
2829
build:
2930
needs: generate-matrix
3031
strategy:

packaging/windows/internal/vc_env_helper.bat

+2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ if "%VSDEVCMD_ARGS%" == "" (
2828

2929
@echo on
3030

31+
if "%CU_VERSION%" == "xpu" call "C:\Program Files (x86)\Intel\oneAPI\setvars.bat"
32+
3133
set DISTUTILS_USE_SDK=1
3234

3335
set args=%1

0 commit comments

Comments
 (0)