SWDEV-480209 - Make internal callbacks non-blocking

Change-Id: Ic918d08f341abfd9a7c167d09f9c723cdc43157f
此提交包含在:
Anusha GodavarthySurya
2024-10-28 09:23:25 +00:00
提交者 Anusha Godavarthy Surya
父節點 c9dd95bf6c
當前提交 683a942364
共有 11 個檔案被更改,包括 38 行新增34 行删除
+2 -1
查看文件
@@ -57,8 +57,9 @@ HostQueue::HostQueue(Context& context, Device& device, cl_command_queue_properti
}
bool HostQueue::terminate() {
// incase of force destroy skip checking on the last command
if (AMD_DIRECT_DISPATCH) {
if (vdev() != nullptr) {
if (!forceDestroy_ && vdev() != nullptr) {
// If the queue still has the last command, then wait and release it
// We must be in protected way to get last command when calling
// awaitCompletion() where lastCommand will be released and possibly