Skip to content

Commit e29acef

Browse files
gmlueckbb-sycl
authored andcommitted
[SYCL] Test error handling undefined device symbol (intel#712)
Add a test for the case when a kernel references an undefined symbol. We expect an exception at kernel submission time with a message telling the name of the undefined symbol.
1 parent d12d57d commit e29acef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

SYCL/KernelAndProgram/undefined-symbol.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// XFAIL: cuda || hip
22
// UNSUPPORTED: host,ze_debug-1,ze_debug4
3+
// UNSUPPORTED: host
34
// RUN: %clangxx -fsycl %s -o %t.out
45
// RUN: %CPU_RUN_PLACEHOLDER %t.out
56
// RUN: %GPU_RUN_PLACEHOLDER %t.out

0 commit comments

Comments
 (0)