Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

OCL error - assertion failed

$
0
0
Hi, I´m working on OpenCV 2.4.4(C++), built using CMAKE with OCL support. - GPU - NVIDIA GeForce 9800 GT - CPU - AMD Opteron 252 (2 processors) Code compiles with no errors, but during runtime I get this error (tried **surf_matcher** and **squares** samples): *OpenCV Error: Assertion failed ((localThreads[0] <= clCxt->impl->maxWorkItemSize s[0]) && (localThreads[1] <= clCxt->impl->maxWorkItemSizes[1]) && (localThreads[ 2] <= clCxt->impl->maxWorkItemSizes[2]) && ((localThreads[0] * localThreads[1] * localThreads[2]) <= kernelWorkGroupSize) && (localThreads[0] * localThreads[1] * localThreads[2]) <= clCxt->impl->maxWorkGroupSize) in unknown function, file . .\..\..\modules\ocl\src\initialization.cpp, line 553* Also, while trying to run CUDA code for **surf_matcher**, I got runtime error saying: *"Too many resources requested for launch."* Anyone encountered this kind of problems? Could it be a GPU issue or OpenCV/OpenCL installation related? Thanks.

Viewing all articles
Browse latest Browse all 19555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>