cancel
Showing results for 
Search instead for 
Did you mean: 

OpenCL

khtran
Journeyman III

Application built with OpenCV 4.3 and openCL 1.2 failed to exit at the end

hi,

 My company has a Windows application that uses Deep Neural Network and computer vision for image segmentation. The application employs OpenCV and OpenCL and has been running fine until recently we upgrade our OpenCV to version 4.3 from the older version 3.1. We now run into the issue that at the end, the application just fails to quit properly. This issue only happens to AMD GPU devices (AMD CPU is ok) but not Intel's.  It seems just hang at the very last statement (without returning back the prompt to the Windows's command prompt). I've been doing some intensive search but could not find a good solution. One closest hit is like this thread https://community.amd.com/t5/archives-discussions/opencl-releasecommandqueue-hangs/td-p/258975 . While I could not see a clear resolution for that issue and also wonder if anyone has run into similar problem and have ideas what could be the issue and/or where to troubleshoot? And why it happens to OpenCV 4.3 but not 3.1? The application is built with VS 2017 for both 32 and 64 bit. 

thanks for helping,

0 Likes
1 Reply
dipak
Big Boss

Thank you for posting it. You have been whitelisted for the AMD Devgurus community.

I would suggest you to contact the OpenCV team as they might be able to help with troubleshooting the issue and identifying the code/API that causing the hang. If it's a driver bug, I would help you to report the issue to the concerned team.

Thanks.

0 Likes