We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32a32f4 commit 641d071Copy full SHA for 641d071
sycl/doc/Assert.md
@@ -353,7 +353,9 @@ is compiled with assertions disabled.*
353
There're two commands used for reading assert failure flag: copy kernel and
354
checker host task. The copy kernel will copy `AssertHappenedMem` to host and
355
host-task will check the `Flag` value and `abort()` as needed. The kernel and
356
-host task are enqueued when `NDEBUG` macro isn't defined.
+host task are enqueued together with a kernel only when the corresponding device
357
+binary image for this kernel tells that it may use (maybe indirectly) the
358
+`assert` in its code.
359
360
All translation units provided by the user should have a declaration of the
361
assert flag read function available:
0 commit comments