Skip to content

Commit 6f59e89

Browse files
committed
Adapt benchmarks for DLE 2025.3 by removing '-fpreview-breaking-changes'
Signed-off-by: Anatoly Myachev <[email protected]>
1 parent 8d220b9 commit 6f59e89

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

benchmarks/cutlass_kernel/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ add_custom_target(generate_gemm_config DEPENDS ${GEMM_CONFIG_OUTPUT})
5858

5959
Python3_add_library(cutlass_kernel MODULE WITH_SOABI python_main.cpp)
6060

61-
target_compile_options(cutlass_kernel PRIVATE "-fsycl" "-fsycl-targets=intel_gpu_pvc,intel_gpu_bmg_g21" "-fpreview-breaking-changes")
61+
target_compile_options(cutlass_kernel PRIVATE "-fsycl" "-fsycl-targets=intel_gpu_pvc,intel_gpu_bmg_g21")
6262
target_compile_options(cutlass_kernel PRIVATE "-DCUTLASS_ENABLE_SYCL")
6363
target_compile_options(cutlass_kernel PRIVATE "-DSYCL_INTEL_TARGET")
6464
target_compile_definitions(cutlass_kernel PRIVATE GEMM_CONFIG_HEADER=\"${GEMM_CONFIG_OUTPUT}\")

benchmarks/onednn_kernel/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set(oneDNN_KERNEL_FLAGS ${oneDNN_KERNEL_FLAGS}
55

66
Python3_add_library(onednn_kernel MODULE WITH_SOABI python_main.cpp)
77

8-
target_compile_options(onednn_kernel PRIVATE "-fsycl" "-fpreview-breaking-changes")
8+
target_compile_options(onednn_kernel PRIVATE "-fsycl")
99
target_compile_options(onednn_kernel PRIVATE "-DDNNL_CPU_RUNTIME=SYCL")
1010
target_compile_options(onednn_kernel PRIVATE "-DDNNL_GPU_RUNTIME=SYCL")
1111

benchmarks/xetla_kernel/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ endif()
2727

2828
Python3_add_library(xetla_kernel MODULE WITH_SOABI python_main.cpp)
2929
target_compile_options(xetla_kernel PRIVATE "-fPIC")
30-
target_compile_options(xetla_kernel PRIVATE "-fsycl" "-fpreview-breaking-changes")
30+
target_compile_options(xetla_kernel PRIVATE "-fsycl")
3131
target_compile_options(xetla_kernel PUBLIC "-DXETPP_NEW_XMAIN")
3232
target_link_options(xetla_kernel PRIVATE ${XETLA_KERNEL_FLAGS})
3333
target_link_libraries(xetla_kernel PUBLIC ${TORCH_LIBRARIES} ${TORCH_PYTHON_LIBRARY})

utils/SPIRVRunner/CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@ ExternalProject_Add(
3535
)
3636
set(JSON_INCLUDE_DIR ${CMAKE_BINARY_DIR}/nlohmann_json/src/json/include/)
3737

38-
# Add preview-breaking-changes for ABI compatibility with SYCL library linked by PyTorch:
39-
# https://github.com/pytorch/pytorch/commit/92bebb46fa9fd60523d8aeb7b5f1a3f488c4cd93
40-
set(COMPILE_FLAGS "-fsycl -Wall -fpreview-breaking-changes")
38+
set(COMPILE_FLAGS "-fsycl -Wall")
4139
set(LINK_FLAGS "-fsycl -lze_loader")
4240

4341
set(SYCL_FUNCTIONS_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../../third_party/intel/backend/include")

0 commit comments

Comments
 (0)