@@ -1841,12 +1841,12 @@ def SYCLIntelKernelArgsRestrictDocs : Documentation {
18411841 let Content = [{
18421842The attribute ``intel::kernel_args_restrict`` is legal on device functions, and
18431843can be ignored on non-device functions. When applied to a function, lambda, or
1844- function call operator (of a functor ), the attribute is a hint to the compiler
1845- equivalent to specifying the C99 restrict attribute on all pointer arguments or
1846- the pointer member of any accessors, which are a function argument, lambda
1847- capture, or functor member, of the callable to which the attribute was
1848- applied. This effect is equivalent to annotating restrict on **all** kernel
1849- pointer arguments in an OpenCL or SPIR-V kernel.
1844+ function call operator (of a function object ), the attribute is a hint to the
1845+ compiler equivalent to specifying the C99 restrict attribute on all pointer
1846+ arguments or the pointer member of any accessors, which are a function argument,
1847+ lambda capture, or function object member, of the callable to which the
1848+ attribute was applied. This effect is equivalent to annotating restrict on
1849+ **all** kernel pointer arguments in an OpenCL or SPIR-V kernel.
18501850
18511851If ``intel::kernel_args_restrict`` is applied to a function called from a device
18521852kernel, the attribute is ignored and it is not propagated to a kernel.
0 commit comments