@@ -483,8 +483,7 @@ event handler::finalize() {
483483 // According to 4.7.6.9 of SYCL2020 spec, if a placeholder accessor is passed
484484 // to a command without being bound to a command group, an exception should
485485 // be thrown.
486- if (!IsGraphEnqueue)
487- {
486+ if (!IsGraphEnqueue) {
488487 for (const auto &arg : impl->MArgs ) {
489488 if (arg.MType != detail::kernel_param_kind_t ::kind_accessor)
490489 continue ;
@@ -585,8 +584,8 @@ event handler::finalize() {
585584 // the graph is not changed, then this faster path is used to submit
586585 // kernel bypassing scheduler and avoiding CommandGroup, Command objects
587586 // creation.
588- std::vector<ur_event_handle_t > RawEvents = detail::Command::getUrEvents (
589- impl->CGData .MEvents , Queue, false );
587+ std::vector<ur_event_handle_t > RawEvents =
588+ detail::Command::getUrEvents ( impl->CGData .MEvents , Queue, false );
590589
591590 bool DiscardEvent =
592591 !impl->MEventNeeded && impl->get_queue ().supportsDiscardingPiEvents ();
@@ -616,9 +615,8 @@ event handler::finalize() {
616615 StreamID = xptiRegisterStream (detail::SYCL_STREAM_NAME);
617616 std::tie (CmdTraceEvent, InstanceID) = emitKernelInstrumentationData (
618617 StreamID, MKernel, MCodeLoc, impl->MIsTopCodeLoc ,
619- MKernelName.data (), impl->MKernelNameBasedCachePtr ,
620- Queue, impl->MNDRDesc , KernelBundleImpPtr,
621- impl->MArgs );
618+ MKernelName.data (), impl->MKernelNameBasedCachePtr , Queue,
619+ impl->MNDRDesc , KernelBundleImpPtr, impl->MArgs );
622620 detail::emitInstrumentationGeneral (StreamID, InstanceID,
623621 CmdTraceEvent,
624622 xpti::trace_task_begin, nullptr );
@@ -816,7 +814,8 @@ event handler::finalize() {
816814 // pass the exec_graph_impl and event dependencies. Since this subgraph CG
817815 // will not be executed this is fine.
818816 CommandGroup.reset (new sycl::detail::CGExecCommandBuffer (
819- nullptr , impl->MExecGraph ->shared_from_this (), std::move (impl->CGData )));
817+ nullptr , impl->MExecGraph ->shared_from_this (),
818+ std::move (impl->CGData )));
820819
821820 } else {
822821 bool DiscardEvent = !impl->MEventNeeded &&
0 commit comments