Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit 69dc058

Browse files
[SYCL-MLIR] Run all tests in Basic and XFAIL the failed test cases (#1519)
Signed-off-by: Tsang, Whitney <[email protected]>
1 parent 824589b commit 69dc058

File tree

2 files changed

+60
-1
lines changed

2 files changed

+60
-1
lines changed

SYCL/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,10 @@ if(CHECK_SYCL_ALL)
3232
set(SYCL_PYTHON python3)
3333
endif()
3434

35+
file(STRINGS "xfail_tests.txt" XFAIL_TESTS_LIST)
36+
string(REPLACE ";" "\;" XFAIL_TESTS "${XFAIL_TESTS_LIST}")
3537
add_custom_target(${TARGET}
36-
COMMAND ${SYCL_PYTHON} ${TEST_SUITE_LIT} ${TEST_SUITE_LIT_FLAGS} --filter=Basic/cgeist/* --param sycl_be=${TARGET_BE} --param target_devices=${TARGET_DEVICES} .
38+
COMMAND ${SYCL_PYTHON} ${TEST_SUITE_LIT} ${TEST_SUITE_LIT_FLAGS} --filter=Basic/* --xfail '${XFAIL_TESTS}' --param sycl_be=${TARGET_BE} --param target_devices=${TARGET_DEVICES} .
3739
COMMENT "Running the SYCL tests for ${TARGET} backend"
3840
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
3941
DEPENDS ${TEST_SUITE_TARGETS}

SYCL/xfail_tests.txt

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
Basic/access_to_subset.cpp
2+
Basic/accessor/accessor.cpp
3+
Basic/accessor/device_accessor_deduction.cpp
4+
Basic/accessor/get_device_access_deduction.cpp
5+
Basic/bit_cast/bit_cast.cpp
6+
Basic/boolean.cpp
7+
Basic/buffer/buffer.cpp
8+
Basic/buffer/buffer_full_copy.cpp
9+
Basic/buffer/reinterpret.cpp
10+
Basic/buffer/subbuffer.cpp
11+
Basic/built-ins.cpp
12+
Basic/compare_exchange_strong.cpp
13+
Basic/device_event.cpp
14+
Basic/diagnostics/non-uniform-wk-gp-test.cpp
15+
Basic/group_async_copy.cpp
16+
Basic/group_local_id.cpp
17+
Basic/half_builtins.cpp
18+
Basic/half_type.cpp
19+
Basic/handler/handler_mem_op.cpp
20+
Basic/host-task-dependency.cpp
21+
Basic/image/image.cpp
22+
Basic/image/image_accessor_readsampler.cpp
23+
Basic/image/image_accessor_readwrite.cpp
24+
Basic/image/image_accessor_readwrite_half.cpp
25+
Basic/image/image_array.cpp
26+
Basic/image/image_max_size.cpp
27+
Basic/image/image_read.cpp
28+
Basic/image/image_read_fp16.cpp
29+
Basic/image/image_sample.cpp
30+
Basic/image/image_write.cpp
31+
Basic/image/image_write_fp16.cpp
32+
Basic/image/srgba-read.cpp
33+
Basic/linear-sub_group.cpp
34+
Basic/multi_ptr.cpp
35+
Basic/multi_ptr_legacy.cpp
36+
Basic/offset-accessor-get_pointer.cpp
37+
Basic/parallel_for_disable_range_roundup.cpp
38+
Basic/parallel_for_range_roundup.cpp
39+
Basic/reqd_work_group_size.cpp
40+
Basic/sampler/sampler.cpp
41+
Basic/scalar_vec_access.cpp
42+
Basic/span.cpp
43+
Basic/stream/auto_flush.cpp
44+
Basic/stream/release_resources_test.cpp
45+
Basic/stream/stream.cpp
46+
Basic/stream/stream_copies_buffer_sync.cpp
47+
Basic/stream/stream_max_stmt_exceed.cpp
48+
Basic/sub_group_size_prop.cpp
49+
Basic/swizzle_op.cpp
50+
Basic/vector_byte.cpp
51+
Basic/vector_operators.cpp
52+
Basic/work_group_size_prop.cpp
53+
HierPar/hier_par_basic.cpp
54+
Sampler/basic-rw-float.cpp
55+
Sampler/basic-rw.cpp
56+
SubGroupMask/Basic.cpp
57+
XPTI/kernel/basic.cpp

0 commit comments

Comments
 (0)