Skip to content

Commit df87693

Browse files
authored
[XeTLA] Fix AOT Target Settings for All Kernels Except Int4GEMM (#4634) (#4662)
Fix the issue that builds targeting PVC/DG2 will build non-int4gemm xetla kernels using JIT.
1 parent 3994f58 commit df87693

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

csrc/gpu/aten/operators/xetla/kernels/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,10 @@ if (USE_AOT_DEVLIST)
6767
set(XETLA_USE_AOT_DEVLIST "${USE_AOT_DEVLIST}")
6868
if (USE_XETLA_XE_HPC) # Temporary fix as AOT fails of try to compile XE_HPC kernels for ats-m150 etc
6969
message(STATUS "XeTLA: XE_HPC suppress other aot targets")
70-
set(XETLA_USE_AOT_DEVLIST "${USE_AOT_DEVLIST_XE_HPC}")
70+
set(XETLA_USE_AOT_DEVLIST "${XETLA_USE_AOT_DEVLIST_XE_HPC}")
7171
elseif(USE_XETLA_XE_HPG) # Temporary fix as AOT fails of try to compile XE_HPG kernels for mtl-p etc
7272
message(STATUS "XeTLA: XE_HPG suppress other aot targets")
73-
set(XETLA_USE_AOT_DEVLIST "${USE_AOT_DEVLIST_XE_HPG}")
73+
set(XETLA_USE_AOT_DEVLIST "${XETLA_USE_AOT_DEVLIST_XE_HPG}")
7474
endif()
7575
message(STATUS "XeTLA: XETLA_USE_AOT_DEVLIST: ${XETLA_USE_AOT_DEVLIST}")
7676
endif()

0 commit comments

Comments
 (0)