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

Commit f00ef74

Browse files
committed
[SYCL] Align tests with the driver
Windows driver was uplifted up to 100.9805.
1 parent 718688c commit f00ef74

File tree

3 files changed

+6
-12
lines changed

3 files changed

+6
-12
lines changed

SYCL/ESIMD/ext_math.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
// UNSUPPORTED: cuda || rocm
1010
// RUN: %clangxx -fsycl %s -o %t.out
1111
// RUN: %GPU_RUN_PLACEHOLDER %t.out
12-
// Enable when driver fixes will be propagated into the official release
13-
// XFAIL: windows
1412

1513
// This test checks extended math operations.
1614

SYCL/ESIMD/regression/store_zero_const.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
// UNSUPPORTED: cuda || rocm
1010
// RUN: %clangxx -fsycl -fsycl-device-code-split=per_kernel -I%S/.. %s -o %t.out
1111
// RUN: %GPU_RUN_PLACEHOLDER %t.out
12-
// XFAIL: windows
1312

1413
// This is a regression for vector BE bug:
1514
// storing a constant zero through an USM pointer causes BE crash with

SYCL/KernelAndProgram/build-log.cpp

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
// XFAIL: cuda
21
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
3-
// RUN: %CPU_RUN_PLACEHOLDER %t.out
42
// RUN: %GPU_RUN_PLACEHOLDER %t.out
5-
// RUN: %ACC_RUN_PLACEHOLDER %t.out
3+
// REQUIRES: gpu
64

75
//==--- build-log.cpp - Test log message from faild build ----------==//
86
//
@@ -14,17 +12,14 @@
1412

1513
#include <CL/sycl.hpp>
1614

17-
SYCL_EXTERNAL
18-
void symbol_that_does_not_exist();
19-
2015
void test() {
2116
cl::sycl::queue Queue;
2217

2318
// Submitting this kernel should result in a compile_program_error exception
24-
// with a message indicating that "symbol_that_does_not_exist" is undefined.
19+
// with a message indicating that "parsing vISA inline assembly failed".
2520
auto Kernel = []() {
2621
#ifdef __SYCL_DEVICE_ONLY__
27-
symbol_that_does_not_exist();
22+
asm volatile("unexpected code");
2823
#endif
2924
};
3025

@@ -38,7 +33,9 @@ void test() {
3833
assert(false && "There must be compilation error");
3934
} catch (const cl::sycl::compile_program_error &e) {
4035
std::string Msg(e.what());
41-
assert(Msg.find("symbol_that_does_not_exist") != std::string::npos);
36+
std::cerr << Msg << std::endl;
37+
assert(Msg.find("parsing vISA inline assembly failed") !=
38+
std::string::npos);
4239
} catch (...) {
4340
assert(false && "There must be cl::sycl::compile_program_error");
4441
}

0 commit comments

Comments
 (0)