Skip to content

Commit edc82f8

Browse files
committed
rebase to main
1 parent 2dacca7 commit edc82f8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cmake/BuildFlags.cmake

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ macro(set_build_flags)
4949
list(APPEND SYCL_HOST_FLAGS -fPIC)
5050
list(APPEND SYCL_HOST_FLAGS -std=${CPP_STD})
5151
list(APPEND SYCL_HOST_FLAGS -Wunused-variable)
52+
list(APPEND SYCL_HOST_FLAGS -Wno-interference-size)
5253
# Some versions of DPC++ compiler pass paths to SYCL headers as user include paths (`-I`) rather
5354
# than system paths (`-isystem`). This makes host compiler to report warnings encountered in the
5455
# SYCL headers, such as deprecated warnings, even if warned API is not actually used in the program.
@@ -146,9 +147,9 @@ macro(set_build_flags)
146147
set(SYCL_OFFLINE_COMPILER_AOT_OPTIONS "-device pvc,bmg")
147148
else()
148149
if(WIN32)
149-
set(AOT_TARGETS "mtl,mtl-h,bmg,dg2,arl-h,lnl-m")
150+
set(AOT_TARGETS "mtl,mtl-h,bmg,dg2,arl-h,lnl-m,ptl")
150151
else()
151-
set(AOT_TARGETS "pvc,bmg,dg2,arl-h,mtl-h,lnl-m")
152+
set(AOT_TARGETS "pvc,bmg,dg2,arl-h,mtl-h,lnl-m,ptl-h,ptl-u")
152153
endif()
153154
if(TORCH_XPU_ARCH_LIST)
154155
set(AOT_TARGETS "${TORCH_XPU_ARCH_LIST}")

0 commit comments

Comments
 (0)