Skip to content

Commit 9877623

Browse files
Andrew Savonichevvladimirlaz
authored andcommitted
Change wording in the attribute documentation
Signed-off-by: Andrew Savonichev <[email protected]>
1 parent f1db417 commit 9877623

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

clang/include/clang/Basic/AttrDocs.td

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1849,11 +1849,11 @@ applied. This effect is equivalent to annotating restrict on **all** kernel
18491849
pointer arguments in an OpenCL or SPIR-V kernel.
18501850

18511851
If ``intel::kernel_args_restrict`` is applied to a function called from a device
1852-
kernel, propagation of the attribute to any caller(s), including up to a kernel
1853-
boundary, is implementation defined and not guaranteed through this
1854-
extension. The attribute forms an unchecked assertion, in that implementations
1852+
kernel, the attribute is ignored and it is not propagated to a kernel.
1853+
1854+
The attribute forms an unchecked assertion, in that implementations
18551855
do not need to check/confirm the pre-condition in any way. If a user applies
1856-
``inte::_kernel_args_restrict`` to a kernel, but there is in fact aliasing
1856+
``intel::_kernel_args_restrict`` to a kernel, but there is in fact aliasing
18571857
between kernel pointer arguments at runtime, the behavior is undefined.
18581858

18591859
The attribute-token ``intel::kernel_args_restrict`` shall appear at most once in

0 commit comments

Comments
 (0)