This repository was archived by the owner on Mar 28, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +6
-12
lines changed Expand file tree Collapse file tree 3 files changed +6
-12
lines changed Original file line number Diff line number Diff line change 9
9
// UNSUPPORTED: cuda || rocm
10
10
// RUN: %clangxx -fsycl %s -o %t.out
11
11
// RUN: %GPU_RUN_PLACEHOLDER %t.out
12
- // Enable when driver fixes will be propagated into the official release
13
- // XFAIL: windows
14
12
15
13
// This test checks extended math operations.
16
14
Original file line number Diff line number Diff line change 9
9
// UNSUPPORTED: cuda || rocm
10
10
// RUN: %clangxx -fsycl -fsycl-device-code-split=per_kernel -I%S/.. %s -o %t.out
11
11
// RUN: %GPU_RUN_PLACEHOLDER %t.out
12
- // XFAIL: windows
13
12
14
13
// This is a regression for vector BE bug:
15
14
// storing a constant zero through an USM pointer causes BE crash with
Original file line number Diff line number Diff line change 1
- // XFAIL: cuda
2
1
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
3
- // RUN: %CPU_RUN_PLACEHOLDER %t.out
4
2
// RUN: %GPU_RUN_PLACEHOLDER %t.out
5
- // RUN: %ACC_RUN_PLACEHOLDER %t.out
3
+ // REQUIRES: gpu
6
4
7
5
// ==--- build-log.cpp - Test log message from faild build ----------==//
8
6
//
14
12
15
13
#include < CL/sycl.hpp>
16
14
17
- SYCL_EXTERNAL
18
- void symbol_that_does_not_exist ();
19
-
20
15
void test () {
21
16
cl::sycl::queue Queue;
22
17
23
18
// 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" .
25
20
auto Kernel = []() {
26
21
#ifdef __SYCL_DEVICE_ONLY__
27
- symbol_that_does_not_exist ( );
22
+ asm volatile ( " unexpected code " );
28
23
#endif
29
24
};
30
25
@@ -38,7 +33,9 @@ void test() {
38
33
assert (false && " There must be compilation error" );
39
34
} catch (const cl::sycl::compile_program_error &e) {
40
35
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);
42
39
} catch (...) {
43
40
assert (false && " There must be cl::sycl::compile_program_error" );
44
41
}
You can’t perform that action at this time.
0 commit comments