File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
clang/include/clang/Basic Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1849,11 +1849,11 @@ applied. This effect is equivalent to annotating restrict on **all** kernel
18491849pointer arguments in an OpenCL or SPIR-V kernel.
18501850
18511851If ``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
18551855do 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
18571857between kernel pointer arguments at runtime, the behavior is undefined.
18581858
18591859The attribute-token ``intel::kernel_args_restrict`` shall appear at most once in
You can’t perform that action at this time.
0 commit comments