Skip to content

Commit 3f05699

Browse files
authored
Enable xpu windows CD (pytorch#3833)
1 parent ba696ea commit 3f05699

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.github/workflows/build_wheels_windows.yml

Lines changed: 1 addition & 0 deletions
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/vc_env_helper.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ if "%VSDEVCMD_ARGS%" == "" (
2020

2121
@echo on
2222

23+
if "%CU_VERSION%" == "xpu" call "C:\Program Files (x86)\Intel\oneAPI\setvars.bat"
24+
2325
set DISTUTILS_USE_SDK=1
2426

2527
set args=%1

0 commit comments

Comments
 (0)