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
* Invoke via `q.submit(celerity::allow_by_ref, [&](celerity::handler &cgh) {...})`.
44
+
*
45
+
* With this overload, CGF may capture by-reference. This may lead to lifetime issues with asynchronous execution, so using the `submit(cgf)` overload is
46
+
* preferred in the common case.
47
+
*/
43
48
template <typename CGF>
44
49
voidsubmit(allow_by_ref_t, CGF cgf) {
45
50
// (Note while this function could be made static, it must not be! Otherwise we can't be sure the runtime has been initialized.)
0 commit comments