File tree 2 files changed +8
-6
lines changed 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -38,17 +38,17 @@ int main() {
38
38
}
39
39
```
40
40
41
- In this use-case every work-item with even X dimension will trigger assertion
42
- failure. Assertion failure should trigger a call to `std::abort()` at host as
43
- described in
41
+ In this use-case every work-item with even index along 0 dimension will trigger
42
+ assertion failure. Assertion failure should trigger a call to `std::abort()` at
43
+ host as described in
44
44
[extension](extensions/Assert/SYCL_INTEL_ASSERT.asciidoc).
45
45
Even though multiple failures of the same or different assertions can happen in
46
- multiple workitems , implementation is required to deliver at least one
46
+ multiple work-items , implementation is required to deliver at least one
47
47
assertion. The assertion failure message is printed to `stderr` by DPCPP
48
48
Runtime or underlying backend.
49
49
50
50
When multiple kernels are enqueued and more than one fail at assertion, at least
51
- single assertion should be reported.
51
+ one assertion should be reported.
52
52
53
53
54
54
## User requirements
Original file line number Diff line number Diff line change 21
21
:cpp: C++
22
22
23
23
== Notice
24
+
24
25
IMPORTANT: This specification is a draft.
25
26
26
- Copyright (c) 2021-2021 Intel Corporation. All rights reserved.
27
+ Copyright (c) 2021 Intel Corporation. All rights reserved.
27
28
28
29
NOTE: Khronos(R) is a registered trademark and SYCL(TM) and SPIR(TM) are
29
30
trademarks of The Khronos Group Inc. OpenCL(TM) is a trademark of Apple Inc.
@@ -49,6 +50,7 @@ subject to change they are not intended to be used by shipping software
49
50
products.
50
51
51
52
== Introduction
53
+
52
54
This extension adds the ability for device code to call the C++ `assert()`
53
55
macro. The behavior of `assert()` in device code is similar to its behavior in
54
56
host code. If the asserted condition is false, a message is printed to `stderr`
You can’t perform that action at this time.
0 commit comments