From 5c66921b94d7eb7b8a95e716f27e456038f77601 Mon Sep 17 00:00:00 2001 From: Sophie Mao Date: Wed, 12 Jul 2023 08:50:51 -0700 Subject: [PATCH] Add workaround for host pipe atomic hang issue --- src/acl_hostch.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/acl_hostch.cpp b/src/acl_hostch.cpp index c11caa36..2c735a41 100644 --- a/src/acl_hostch.cpp +++ b/src/acl_hostch.cpp @@ -786,6 +786,7 @@ void acl_read_program_hostpipe(void *user_data, acl_device_op_t *op) { host_pipe_info.m_physical_device_id, host_pipe_info.m_channel_handle, event->cmd.info.host_pipe_info.ptr, event->cmd.info.host_pipe_info.size, &status); + acl_update_device_op_queue(&(acl_platform.device_op_queue)); } } } @@ -882,6 +883,7 @@ void acl_write_program_hostpipe(void *user_data, acl_device_op_t *op) { host_pipe_info.m_channel_handle, event->cmd.info.host_pipe_info.write_ptr, event->cmd.info.host_pipe_info.size); + acl_update_device_op_queue(&(acl_platform.device_op_queue)); } } }