Skip to content

Commit 77e8693

Browse files
sndmitrievbader
authored andcommitted
[SYCL][NFC] Remove reference to the file name from the assert message
To avoid embedding user file names into the generated binaries. Signed-off-by: Sergey Dmitriev <serguei.n.dmitriev@intel.com>
1 parent 72593b5 commit 77e8693

File tree

1 file changed

+1
-1
lines changed
  • sycl/include/CL/sycl/detail

1 file changed

+1
-1
lines changed

sycl/include/CL/sycl/detail/pi.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ namespace pi {
149149
namespace RT = cl::sycl::detail::pi;
150150

151151
#define PI_ASSERT(cond, msg) \
152-
RT::assertion((cond), "assert @ " __FILE__ ":" STRINGIFY_LINE(__LINE__) msg);
152+
RT::assertion((cond), "assert: " msg);
153153

154154
#define PI_TRACE(func) RT::Trace<decltype(func)>(func, #func)
155155

0 commit comments

Comments
 (0)