Skip to content

Commit b57ac48

Browse files
author
Sergey Kanaev
committed
Fix typo
Signed-off-by: Sergey Kanaev <[email protected]>
1 parent 995e4d8 commit b57ac48

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

sycl/doc/Assert.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -350,14 +350,12 @@ states of definedness of `NDEBUG` macro available:
350350
| 4 | undefined | undefined |
351351
352352
States of definedness of `NDEBUG` macro defines the set of assertions which can
353-
fail. Having assertions enabled in at least one translation unit with device
354-
code requires for `isAssertEnabled` property set being present in device image
355-
descriptor structure.
353+
fail.
356354
357355
### Raising assert failure flag and reading it on host
358356
359357
Each and every translation unit provided by user should have declaration of
360-
assert flag read function:
358+
assert flag read function available:
361359
```c++
362360
int __devicelib_assert_read(void);
363361
```

0 commit comments

Comments
 (0)