Sync queue and async copy on client finalizer (#950)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
27fa455201
Коммит
62ec95eae6
@@ -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()
|
||||
{
|
||||
|
||||
Ссылка в новой задаче
Block a user