diff --git a/adoc/chapters/programming_interface.adoc b/adoc/chapters/programming_interface.adoc index 6a00a8de5..7615d315a 100644 --- a/adoc/chapters/programming_interface.adoc +++ b/adoc/chapters/programming_interface.adoc @@ -17667,10 +17667,8 @@ a device copyable type in that case and the specialization is ignored. A SYCL application passes parameters to a kernel in different ways depending on whether the kernel is a named function object or a lambda expression. -If the kernel is a named function object, the [code]#operator()# member function -(or other member functions that it calls) may reference member variables inside -the same named function object. -Any such member variables become parameters to the kernel. +If the kernel is a named function object, all non-static member variables of the +named function object become parameters to the kernel. If the kernel is a lambda expression, any variables captured by the lambda become parameters to the kernel.