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

Commit b8eef34

Browse files
author
sergei
authored
[SYCL] Disable assert in kernel_bundle_api test (#357)
Signed-off-by: Sergey Kanaev <[email protected]>
1 parent 2dbf5fa commit b8eef34

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

SYCL/Basic/kernel_bundle/kernel_bundle_api.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
// RUN: %clangxx -fsycl -fsycl-device-code-split=per_kernel -fsycl-targets=%sycl_triple %s -o %t.out
1+
// Disable fallback assert here until online-support is fixed.
2+
// Use of per-kernel device code split and linking the bundle with all images
3+
// involved leads to multiple definition of AssertHappened structure due each
4+
// device image is statically linked against fallback libdevice.
5+
// RUN: %clangxx -DSYCL_DISABLE_FALLBACK_ASSERT=1 -fsycl -fsycl-device-code-split=per_kernel -fsycl-targets=%sycl_triple %s -o %t.out
26
// RUN: env SYCL_PI_TRACE=2 %CPU_RUN_PLACEHOLDER %t.out %CPU_CHECK_PLACEHOLDER
37
//
48
// -fsycl-device-code-split is not supported for cuda

0 commit comments

Comments
 (0)