From 7925a86f7946b3b7665ddfddcf156315cbb5d05e Mon Sep 17 00:00:00 2001 From: Feng Zou Date: Thu, 25 Sep 2025 21:51:22 +0800 Subject: [PATCH 1/2] [NFC] XFAIL ProgramManager/uneven_kernel_split.cpp Basic/backend_info.cpp KernelParams/has-special-captures.cpp --- sycl/test-e2e/Basic/backend_info.cpp | 4 ++++ sycl/test-e2e/KernelParams/has-special-captures.cpp | 3 +++ sycl/test-e2e/ProgramManager/uneven_kernel_split.cpp | 3 +++ 3 files changed, 10 insertions(+) diff --git a/sycl/test-e2e/Basic/backend_info.cpp b/sycl/test-e2e/Basic/backend_info.cpp index 557a3be251e6d..0ff99779200ed 100644 --- a/sycl/test-e2e/Basic/backend_info.cpp +++ b/sycl/test-e2e/Basic/backend_info.cpp @@ -1,6 +1,10 @@ // UNSUPPORTED: preview-mode // UNSUPPORTED-INTENDED: Functionality is removed under // `-fpreview-breaking-changes` + +// XFAIL: native_cpu +// XFAIL-TRACKER: https://github.com/intel/llvm/issues/20127 + // RUN: %{build} -o %t.out -Wno-deprecated-declarations // RUN: %{run} %t.out // diff --git a/sycl/test-e2e/KernelParams/has-special-captures.cpp b/sycl/test-e2e/KernelParams/has-special-captures.cpp index b7cc01e73b42e..f441cdb8838da 100644 --- a/sycl/test-e2e/KernelParams/has-special-captures.cpp +++ b/sycl/test-e2e/KernelParams/has-special-captures.cpp @@ -1,3 +1,6 @@ +// XFAIL: native_cpu +// XFAIL-TRACKER: https://github.com/intel/llvm/issues/20127 + // RUN: %{build} -fsyntax-only -o %t.out #include diff --git a/sycl/test-e2e/ProgramManager/uneven_kernel_split.cpp b/sycl/test-e2e/ProgramManager/uneven_kernel_split.cpp index 82cf772ca0c9e..dc0f761f7b63b 100644 --- a/sycl/test-e2e/ProgramManager/uneven_kernel_split.cpp +++ b/sycl/test-e2e/ProgramManager/uneven_kernel_split.cpp @@ -3,6 +3,9 @@ // UNSUPPORTED: linux // UNSUPPORTED-TRACKER: https://github.com/intel/llvm/issues/17305 +// XFAIL: run-mode +// XFAIL-TRACKER: https://github.com/intel/llvm/issues/20127 + // RUN: %clangxx -fsycl -fsycl-targets=spir64_x86_64 -I %S/Inputs/ %S/uneven_kernel_split.cpp -c -o %t.o // RUN: %clangxx -fsycl -fsycl-targets=spir64_gen -Xsycl-target-backend=spir64_gen %gpu_aot_target_opts -I %S/Inputs/ %S/Inputs/gpu_kernel1.cpp -c -o %t1.o // RUN: %clangxx -fsycl -fsycl-targets=spir64_gen -Xsycl-target-backend=spir64_gen %gpu_aot_target_opts -I %S/Inputs/ %S/Inputs/gpu_kernel2.cpp -c -o %t2.o From 1d094dabbfa1cb3a7b2c4ad6301c8df0393dbf99 Mon Sep 17 00:00:00 2001 From: srividya sundaram Date: Fri, 26 Sep 2025 11:48:43 -0700 Subject: [PATCH 2/2] [SYCL] Fix UnsupportedArg list sycl_ext_oneapi_kernel_compiler extension. --- sycl-jit/jit-compiler/lib/rtc/DeviceCompilation.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/sycl-jit/jit-compiler/lib/rtc/DeviceCompilation.cpp b/sycl-jit/jit-compiler/lib/rtc/DeviceCompilation.cpp index 59eda6f548faa..18a08085ee5e6 100644 --- a/sycl-jit/jit-compiler/lib/rtc/DeviceCompilation.cpp +++ b/sycl-jit/jit-compiler/lib/rtc/DeviceCompilation.cpp @@ -884,11 +884,12 @@ jit_compiler::parseUserArgs(View UserArgs) { // Check for options that are unsupported because they would interfere with // the in-memory pipeline. Arg *UnsupportedArg = - AL.getLastArg(OPT_Action_Group, // Actions like -c or -S - OPT_Link_Group, // Linker flags - OPT_o, // Output file - OPT_fsycl_targets_EQ, // AoT compilation - OPT_fsycl_link_EQ, // SYCL linker + AL.getLastArg(OPT_Action_Group, // Actions like -c or -S + OPT_Link_Group, // Linker flags + OPT_o, // Output file + OPT_fsycl_targets_EQ, // AoT compilation + OPT_offload_targets_EQ, // AoT compilation + OPT_fsycl_link_EQ, // SYCL linker OPT_fno_sycl_device_code_split_esimd, // invoke_simd OPT_fsanitize_EQ // Sanitizer );