Skip to content

Commit d6392b6

Browse files
committed
add new-offload-model feature for XFAIL filter
1 parent 09ea6b1 commit d6392b6

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

sycl/test-e2e/Compression/compression_separate_compile.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
// XFAIL: target-native_cpu
1010
// XFAIL-TRACKER: https://github.com/intel/llvm/issues/20397
1111

12+
// XFAIL: new-offload-model
13+
// TODO: add XFAIL-TRACKER
14+
1215
// CPU AOT targets host isa, so we compile everything on the run system instead.
1316
////////////////////// Compile device images
1417
// RUN: %{run-aux} %clangxx -fsycl -fsycl-targets=spir64_x86_64 -fsycl-host-compiler=clang++ -fsycl-host-compiler-options='-std=c++17 -Wno-attributes -Wno-deprecated-declarations -fPIC -DENABLE_KERNEL1' -DENABLE_KERNEL1 -c %s -o %t_kernel1_aot.o

sycl/test-e2e/lit.cfg.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1146,7 +1146,8 @@ def get_sycl_ls_verbose(sycl_device, env):
11461146
else:
11471147
config.intel_driver_ver[full_name] = {}
11481148

1149-
if lit_config.params.get("enable_new_offload_model", False) != False:
1149+
if lit_config.params.get("enable_new_offload_model", False):
1150+
config.available_features.add('new-offload-model')
11501151
config.cxx_flags += "--offload-new-driver "
11511152
print(f"Current cxx_flags: {config.cxx_flags}")
11521153

0 commit comments

Comments
 (0)