Skip to content

Commit e910192

Browse files
committed
Address review comment
1 parent f22f90c commit e910192

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

sycl/source/handler.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -211,11 +211,10 @@ event handler::finalize() {
211211
return MLastEvent;
212212
}
213213

214-
if (!CommandGroup) {
214+
if (!CommandGroup)
215215
throw sycl::runtime_error(
216216
"Internal Error. Command group cannot be constructed.",
217217
PI_INVALID_OPERATION);
218-
}
219218

220219
detail::EventImplPtr Event = detail::Scheduler::getInstance().addCG(
221220
std::move(CommandGroup), std::move(MQueue));

0 commit comments

Comments
 (0)