@@ -334,8 +334,7 @@ template <typename T>
334334void copy (queue Q, const T *Src, T *Dest, size_t Count,
335335 const sycl::detail::code_location &CodeLoc =
336336 sycl::detail::code_location::current ()) {
337- submit (
338- Q, [&](handler &CGH) { copy<T>(CGH, Src, Dest, Count); }, CodeLoc);
337+ submit (Q, [&](handler &CGH) { copy<T>(CGH, Src, Dest, Count); }, CodeLoc);
339338}
340339
341340inline void memset (handler &CGH, void *Ptr, int Value, size_t NumBytes) {
@@ -355,8 +354,7 @@ template <typename T>
355354void fill (sycl::queue Q, T *Ptr, const T &Pattern, size_t Count,
356355 const sycl::detail::code_location &CodeLoc =
357356 sycl::detail::code_location::current ()) {
358- submit (
359- Q, [&](handler &CGH) { fill<T>(CGH, Ptr, Pattern, Count); }, CodeLoc);
357+ submit (Q, [&](handler &CGH) { fill<T>(CGH, Ptr, Pattern, Count); }, CodeLoc);
360358}
361359
362360inline void prefetch (handler &CGH, void *Ptr, size_t NumBytes,
@@ -376,8 +374,7 @@ inline void prefetch(queue Q, void *Ptr, size_t NumBytes,
376374 prefetch_type type = prefetch_type::device,
377375 const sycl::detail::code_location &CodeLoc =
378376 sycl::detail::code_location::current ()) {
379- submit (
380- Q, [&](handler &CGH) { prefetch (CGH, Ptr, NumBytes, type); }, CodeLoc);
377+ submit (Q, [&](handler &CGH) { prefetch (CGH, Ptr, NumBytes, type); }, CodeLoc);
381378}
382379
383380inline void mem_advise (handler &CGH, void *Ptr, size_t NumBytes, int Advice) {
@@ -392,8 +389,7 @@ inline void barrier(handler &CGH) { CGH.ext_oneapi_barrier(); }
392389
393390inline void barrier (queue Q, const sycl::detail::code_location &CodeLoc =
394391 sycl::detail::code_location::current ()) {
395- submit (
396- Q, [&](handler &CGH) { barrier (CGH); }, CodeLoc);
392+ submit (Q, [&](handler &CGH) { barrier (CGH); }, CodeLoc);
397393}
398394
399395inline void partial_barrier (handler &CGH, const std::vector<event> &Events) {
@@ -403,8 +399,7 @@ inline void partial_barrier(handler &CGH, const std::vector<event> &Events) {
403399inline void partial_barrier (queue Q, const std::vector<event> &Events,
404400 const sycl::detail::code_location &CodeLoc =
405401 sycl::detail::code_location::current ()) {
406- submit (
407- Q, [&](handler &CGH) { partial_barrier (CGH, Events); }, CodeLoc);
402+ submit (Q, [&](handler &CGH) { partial_barrier (CGH, Events); }, CodeLoc);
408403}
409404
410405inline void execute_graph (queue Q, command_graph<graph_state::executable> &G,
0 commit comments