File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
offload/plugins-nextgen/amdgpu/src Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments