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

Commit 7fa9230

Browse files
committed
[SYCL] Fix test issues
- Mark free_function_queries.cpp UNSUPPORTED for Level_Zero. - Fix global size to enable HandleException.cpp and add OpenCL backend requirement because expected exception is generated for OpenCL only.
1 parent dc00697 commit 7fa9230

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

SYCL/Basic/free_function_queries/free_function_queries.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// RUN: %GPU_RUN_PLACEHOLDER %t.out
66

77
// TODO: Support global work offset on Level Zero.
8-
// XFAIL: level_zero
8+
// UNSUPPORTED: level_zero
99

1010
//==- free_function_queries.cpp - SYCL free function queries test -=//
1111
//

SYCL/Scheduler/HandleException.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
// RUN: %CPU_RUN_PLACEHOLDER %t.out
33
// RUN: %ACC_RUN_PLACEHOLDER %t.out
44
// RUN: %GPU_RUN_PLACEHOLDER %t.out
5-
// XFAIL:gpu
65

6+
// Expected exception is generated for OpenCL backend only.
7+
// REQUIRES: opencl
78
#include <CL/sycl.hpp>
89
#include <array>
910

@@ -13,7 +14,7 @@ constexpr access::mode sycl_read = access::mode::read;
1314
constexpr access::mode sycl_write = access::mode::write;
1415

1516
constexpr unsigned MAX_WG_SIZE = 4;
16-
constexpr unsigned SIZE = 5;
17+
constexpr unsigned SIZE = 8;
1718
using ArrayType = std::array<unsigned, SIZE>;
1819

1920
class kernelCompute;

0 commit comments

Comments
 (0)