Skip to content

Commit 2cced9a

Browse files
authored
[AOT] Add PTL in the default AOT target list for both Win and Lin (#2286)
This PR adds PTL (Panther Lake) architecture support to the Ahead-of-Time (AOT) compilation target lists for both Windows and Linux platforms in the CMake build configuration. - Windows builds now include ptl target - Linux builds now include ptl-h and ptl-u targets
1 parent 327ac78 commit 2cced9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmake/BuildFlags.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,9 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_ID STREQUAL "MSVC"
128128
set(SYCL_OFFLINE_COMPILER_CG_OPTIONS "${SYCL_OFFLINE_COMPILER_CG_OPTIONS} -options -cl-intel-greater-than-4GB-buffer-required")
129129

130130
if(WIN32)
131-
set(AOT_TARGETS "mtl,mtl-h,bmg,dg2,arl-h,lnl-m")
131+
set(AOT_TARGETS "mtl,mtl-h,bmg,dg2,arl-h,lnl-m,ptl")
132132
else()
133-
set(AOT_TARGETS "pvc,bmg,dg2,arl-h,mtl-h,lnl-m")
133+
set(AOT_TARGETS "pvc,bmg,dg2,arl-h,mtl-h,lnl-m,ptl-h,ptl-u")
134134
endif()
135135
if(TORCH_XPU_ARCH_LIST)
136136
set(AOT_TARGETS "${TORCH_XPU_ARCH_LIST}")

0 commit comments

Comments
 (0)