File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -43,14 +43,14 @@ This file describes macros that have effect on SYCL compiler and run-time.
43
43
Defining as non-zero enables the fallback assert feature even on devices
44
44
without native support. Be aware that this will add some overhead that is
45
45
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
47
47
disabled, so a failed assert will not cause a message to be printed and will
48
48
not cause the program to abort. Some devices have native support for
49
49
assertions. The logic for detecting assertion failures is always enabled on
50
50
these devices regardless of whether this macro is defined because that logic
51
51
does not add any extra overhead. One can check to see if a device has native
52
52
support for ` assert() ` via ` aspect::ext_oneapi_native_assert ` .
53
- Default value is 0 .
53
+ This macro is undefined by default .
54
54
55
55
## Version macros
56
56
You can’t perform that action at this time.
0 commit comments