Skip to content

Commit 17d71d1

Browse files
committed
Add workaround for host pipe atomic hang issue
1 parent 2e99b5d commit 17d71d1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/acl_hostch.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -786,6 +786,7 @@ void acl_read_program_hostpipe(void *user_data, acl_device_op_t *op) {
786786
host_pipe_info.m_physical_device_id,
787787
host_pipe_info.m_channel_handle, event->cmd.info.host_pipe_info.ptr,
788788
event->cmd.info.host_pipe_info.size, &status);
789+
acl_update_device_op_queue(&(acl_platform.device_op_queue));
789790
}
790791
}
791792
}
@@ -882,6 +883,7 @@ void acl_write_program_hostpipe(void *user_data, acl_device_op_t *op) {
882883
host_pipe_info.m_channel_handle,
883884
event->cmd.info.host_pipe_info.write_ptr,
884885
event->cmd.info.host_pipe_info.size);
886+
acl_update_device_op_queue(&(acl_platform.device_op_queue));
885887
}
886888
}
887889
}

0 commit comments

Comments
 (0)