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

Commit 0940977

Browse files
authored
[SYCL] Fix test issues (#54)
* [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. - Remove XFAIL for matrix_transpose_glb.cpp
1 parent dc00697 commit 0940977

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
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/ESIMD/matrix_transpose_glb.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
// REQUIRES: linux && gpu && opencl
1010
// RUN: %clangxx-esimd -fsycl %s -o %t.out
1111
// RUN: %ESIMD_RUN_PLACEHOLDER %t.out
12-
// XFAIL: linux
1312

1413
#include "esimd_test_utils.hpp"
1514

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)