Skip to content

Commit 08ffa1c

Browse files
committed
Clang-format fix
1 parent bbc0560 commit 08ffa1c

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

sycl/source/handler.cpp

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -214,15 +214,14 @@ event handler::finalize() {
214214
if (!CommandGroup) {
215215
if (getType() != detail::CG::NONE)
216216
throw sycl::runtime_error(
217-
"Internal Error. Command group cannot be constructed.",
218-
PI_INVALID_OPERATION);
217+
"Internal Error. Command group cannot be constructed.",
218+
PI_INVALID_OPERATION);
219219
else
220220
// empty cg is supported by sycl2020
221221
Event = std::make_shared<cl::sycl::detail::event_impl>();
222-
}
223-
else
224-
Event = detail::Scheduler::getInstance().addCG(
225-
std::move(CommandGroup), std::move(MQueue));
222+
} else
223+
Event = detail::Scheduler::getInstance().addCG(std::move(CommandGroup),
224+
std::move(MQueue));
226225

227226
MLastEvent = detail::createSyclObjFromImpl<event>(Event);
228227
return MLastEvent;

0 commit comments

Comments
 (0)