Sync queue and async copy on client finalizer (#950)

This commit is contained in:
Jonathan R. Madsen authored and GitHub committed 2024-06-24 20:38:34 -05:00
1 orang tua 27fa455201
melakukan 62ec95eae6
8 files changed
+89 -28

No files matched your search

@@ -392,6 +392,13 @@ queue_controller_init(HsaApiTable* table)
CHECK_NOTNULL(get_queue_controller())->init(*table->core_, *table->amd_ext_);
}
void
queue_controller_sync()
{
if(get_queue_controller())
get_queue_controller()->iterate_queues([](const Queue* _queue) { _queue->sync(); });
}
void
queue_controller_fini()
{