File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -215,9 +215,7 @@ class __SYCL_EXPORT queue {
215
215
// / \param CGF is a function object containing command group.
216
216
// / \param CodeLoc is the code location of the submit call (default argument)
217
217
// / \return a SYCL event object for the submitted command group.
218
- template <typename T>
219
- event
220
- submit (T CGF _CODELOCPARAM (&CodeLoc)) {
218
+ template <typename T> event submit (T CGF _CODELOCPARAM (&CodeLoc)) {
221
219
_CODELOCARG (&CodeLoc);
222
220
223
221
return submit_impl (CGF, CodeLoc);
@@ -235,8 +233,7 @@ class __SYCL_EXPORT queue {
235
233
// / \return a SYCL event object, which corresponds to the queue the command
236
234
// / group is being enqueued on.
237
235
template <typename T>
238
- event
239
- submit (T CGF, queue &SecondaryQueue _CODELOCPARAM (&CodeLoc)) {
236
+ event submit (T CGF, queue &SecondaryQueue _CODELOCPARAM (&CodeLoc)) {
240
237
_CODELOCARG (&CodeLoc);
241
238
242
239
return submit_impl (CGF, SecondaryQueue, CodeLoc);
@@ -264,8 +261,8 @@ class __SYCL_EXPORT queue {
264
261
// / group is being enqueued on.
265
262
event
266
263
submit_barrier (const vector_class<event> &WaitList _CODELOCPARAM (&CodeLoc)) {
267
- return submit ([=](handler &CGH) { CGH. barrier (WaitList); }
268
- _CODELOCFW (CodeLoc));
264
+ return submit (
265
+ [=](handler &CGH) { CGH. barrier (WaitList); } _CODELOCFW (CodeLoc));
269
266
}
270
267
271
268
// / Performs a blocking wait for the completion of all enqueued tasks in the
You can’t perform that action at this time.
0 commit comments