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

Commit c64ce9d

Browse files
committed
Check correct warning message
1 parent c6f8a43 commit c64ce9d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

SYCL/KernelFusion/abort_internalization_stored_ptr.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
2-
// RUN: %CPU_RUN_PLACEHOLDER %t.out
3-
// RUN: %GPU_RUN_PLACEHOLDER %t.out
2+
// RUN: env SYCL_RT_WARNING_LEVEL=1 %CPU_RUN_PLACEHOLDER %t.out
3+
// RUN: env SYCL_RT_WARNING_LEVEL=1 %GPU_RUN_PLACEHOLDER %t.out
44
// UNSUPPORTED: cuda || hip
55
// REQUIRES: fusion
66

77
// Test pointers being stored are not internalized.
88

9+
// CHECK: Unable to perform all promotions for function {{.*}}. Detailed information:
10+
// CHECK-NEXT: Failed to promote argument 0 of function {{.*}}: It is not safe to promote values being stored to another pointer
11+
912
#include <sycl/sycl.hpp>
1013

1114
#include <array>

0 commit comments

Comments
 (0)