Skip to content

Commit 8414e8b

Browse files
committed
fixed clang-format error
Signed-off-by: Byoungro So <[email protected]>
1 parent 50d283b commit 8414e8b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

sycl/source/detail/scheduler/commands.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,8 @@ bool Command::enqueue(EnqueueResultT &EnqueueResult, BlockingT Blocking) {
172172
if (MIsBlockable && !MCanEnqueue) {
173173
// Exit if enqueue type is not blocking
174174
if (!Blocking) {
175-
EnqueueResult = EnqueueResultT(EnqueueResultT::SYCL_ENQUEUE_BLOCKED, this);
175+
EnqueueResult =
176+
EnqueueResultT(EnqueueResultT::SYCL_ENQUEUE_BLOCKED, this);
176177
return false;
177178
}
178179
static bool ThrowOnBlock = getenv("SYCL_THROW_ON_BLOCK") != nullptr;
@@ -196,7 +197,8 @@ bool Command::enqueue(EnqueueResultT &EnqueueResult, BlockingT Blocking) {
196197
cl_int Res = enqueueImp();
197198

198199
if (CL_SUCCESS != Res)
199-
EnqueueResult = EnqueueResultT(EnqueueResultT::SYCL_ENQUEUE_FAILED, this, Res);
200+
EnqueueResult =
201+
EnqueueResultT(EnqueueResultT::SYCL_ENQUEUE_FAILED, this, Res);
200202
else
201203
// Consider the command is successfully enqueued if return code is
202204
// CL_SUCCESS

0 commit comments

Comments
 (0)