You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have run into a similar problem as this question when and trying to use the TAPI of OpenCV with the goal of using the GPU on the ASUS Tinkerboard. How does one change the local work size for a particular function?
and the problem, clEnqueueNDRangeKernel' failed with error 'out of resources' (-5), occurs when I call the particular line matcher.knnMatch(). I navigated to /modules/src/matchers.cpp and changed the int block_size to 4, as clinfo says the preferred work size is 4. Recompiled the code with g++ but same error was thrown: OpenCL error CL_OUT_OF_RESOURCES (-5) during call: clEnqueueNDRangeKernel('BruteForceMatch_knnMatch', dims=2, globalsize=480x16x1, localsize=16x16x1) sync=false
The text was updated successfully, but these errors were encountered:
System information
OpenCV => 3.4
Operating System / Platform => TinkerOS latest
Compiler => g++
Hardware platform => Tinker Board 2GB
Detailed description
I have run into a similar problem as this question when and trying to use the TAPI of OpenCV with the goal of using the GPU on the ASUS Tinkerboard. How does one change the local work size for a particular function?
In my case I'm trying to implement
and the problem, clEnqueueNDRangeKernel' failed with error 'out of resources' (-5), occurs when I call the particular line matcher.knnMatch(). I navigated to /modules/src/matchers.cpp and changed the int block_size to 4, as clinfo says the preferred work size is 4. Recompiled the code with g++ but same error was thrown: OpenCL error CL_OUT_OF_RESOURCES (-5) during call: clEnqueueNDRangeKernel('BruteForceMatch_knnMatch', dims=2, globalsize=480x16x1, localsize=16x16x1) sync=false
The text was updated successfully, but these errors were encountered: