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

Этот коммит содержится в:
Jonathan R. Madsen
2024-06-24 20:38:34 -05:00
коммит произвёл GitHub
родитель 27fa455201
Коммит 62ec95eae6
8 изменённых файлов: 89 добавлений и 28 удалений
+7
Просмотреть файл
@@ -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()
{