You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Lesson_Materials/Lecture_02_Enqueuing_a_Kernel/index.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -325,7 +325,7 @@
325
325
<divclass=containerdata-markdown>
326
326
* Must be defined using a C++ lambda or function object, they cannot be a function pointer or std::function.
327
327
* Must always capture or store members by-value.
328
-
* SYCL kernel functions declared with a lambda must be named using a forward declarable C++ type, declared in global scope.
328
+
* SYCL kernel functions declared with a lambda ~~must be named using a forward declarable C++ type, declared in global scope~~ can be anonymous since SYCL 2020!
329
329
* SYCL kernel function names follow C++ ODR rules, which means you cannot have two kernels with the same name.
0 commit comments