I am running 2 detection threads on GPU. My program is crashing in the following lines occasionally.
OpenCV Error: Gpu API call (NCV Assertion Failed: cudaError_t=30, file=C:/opencv-2.4.6/modules/gpu/src/nvidia/NCVHaarObjectDetection.cu, line=1206) in unknown function, file C:\opencv-2.4.6\modules\gpu\src\cascadeclassifier.cpp, line 173
OpenCV Error: Gpu API call (NCV Assertion Failed: cudaError_t=30, file=C:/opencv-.4.6/modules/gpu/src/nvidia/NCVHaarObjectDetection.cu, line=1206) in unknown function, file C:\opencv-2.4.6\modules\gpu\src\cascadeclassifier.cpp, line 173
Error Code: -217
Error Code: -217
Error Description: C:\Users\Abdullah\Downloads\opencv-2.4.6\modules\gpu\src\casc adeclassifier.cpp:173: error: (-217) NCV Assertion Failed: cudaError_t=30, file= C:/opencv-2.4.6/modules/gpu/src/nvidia/NCVHaarObjectDetection.cu, line=1206
Error DescrOpenCV Error: Gpu API call (unknown error) in unknown function, file C:\opencv-2.4.6\modules\core\src\gpumat.cpp, line 1415
Does anybody have idea about it? What can be the reason for it.