SWDEV-517481 - Add dynamic queue management (#37)

Enabled by defaulty. DEBUG_HIP_DYNAMIC_QUEUES controls the feature

[ROCm/clr commit: 28967982b2]
This commit is contained in:
Andryeyev, German
2025-03-19 11:22:50 -04:00
committed by GitHub
parent 00e77db856
commit 5c7c86f66d
9 changed files with 84 additions and 9 deletions
@@ -197,6 +197,8 @@ void HostQueue::finish(bool cpu_wait) {
}
}
}
// Release HW queue to the pool for dynamic management if enabled
vdev()->ReleaseHwQueue();
command->release();
ClPrint(LOG_DEBUG, LOG_CMD, "All commands finished for host queue : %p", this);