Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions adoc/chapters/programming_interface.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
Loading