Skip to content

Commit 30ce1d2

Browse files
committed
Style
1 parent d782ee8 commit 30ce1d2

File tree

1 file changed

+8
-8
lines changed
  • offload/plugins-nextgen/amdgpu/src

1 file changed

+8
-8
lines changed

offload/plugins-nextgen/amdgpu/src/rtl.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1568,15 +1568,15 @@ struct AMDGPUStreamTy {
15681568
CallbackData);
15691569

15701570
return Plugin::check(Status, "error in hsa_amd_signal_async_handler: %s");
1571-
} else {
1572-
// No dependencies - schedule it now.
1573-
// Using a seperate thread because this function should run asynchronously
1574-
// and not block the main thread.
1575-
std::thread([](void *CallbackData) { callbackWrapper(0, CallbackData); },
1576-
CallbackData)
1577-
.detach();
1578-
return Plugin::success();
15791571
}
1572+
1573+
// No dependencies - schedule it now.
1574+
// Using a seperate thread because this function should run asynchronously
1575+
// and not block the main thread.
1576+
std::thread([](void *CallbackData) { callbackWrapper(0, CallbackData); },
1577+
CallbackData)
1578+
.detach();
1579+
return Plugin::success();
15801580
}
15811581

15821582
/// Synchronize with the stream. The current thread waits until all operations

0 commit comments

Comments
 (0)