Skip to content

Commit 7a394ee

Browse files
sergeigmlueck
andauthored
Apply suggestions from code review
Co-authored-by: Greg Lueck <[email protected]>
1 parent acee7b3 commit 7a394ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sycl/doc/PreprocessorMacros.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ This file describes macros that have effect on SYCL compiler and run-time.
4343
Defining as non-zero enables the fallback assert feature even on devices
4444
without native support. Be aware that this will add some overhead that is
4545
associated with submitting kernels that call `assert()`. When this macro is
46-
not defined, the logic for detecting assertion failures in kernels is
46+
defined as 0 or is not defined, the logic for detecting assertion failures in kernels is
4747
disabled, so a failed assert will not cause a message to be printed and will
4848
not cause the program to abort. Some devices have native support for
4949
assertions. The logic for detecting assertion failures is always enabled on
5050
these devices regardless of whether this macro is defined because that logic
5151
does not add any extra overhead. One can check to see if a device has native
5252
support for `assert()` via `aspect::ext_oneapi_native_assert`.
53-
Default value is 0.
53+
This macro is undefined by default.
5454

5555
## Version macros
5656

0 commit comments

Comments
 (0)