Skip to content

Commit 16fd8f0

Browse files
author
Sergey Kanaev
committed
Add aspect
Signed-off-by: Sergey Kanaev <sergey.kanaev@intel.com>
1 parent dc058a9 commit 16fd8f0

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

Diff for: sycl/doc/extensions/Assert/SYCL_ONEAPI_ASSERT.asciidoc

+16
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,22 @@ extension’s APIs the implementation supports.
117117
|1 |Initial extension version. Base features are supported.
118118
|===
119119

120+
== Extension to `enum class aspect`
121+
122+
[source]
123+
----
124+
namespace sycl {
125+
enum class aspect {
126+
ext_oneapi_native_assert
127+
}
128+
}
129+
----
130+
131+
If device has the `ext_oneapi_native_assert` aspect, then its Device-Side
132+
Runtime is capable of native support of `assert`. That is, safe implementation
133+
is used. If device doesn't have the aspect, then fallback implementation is
134+
used.
135+
120136
== Version
121137

122138
Built On: {docdate} +

0 commit comments

Comments
 (0)