Ask Your Question
0

Runtime error CL_INVALID_BINARY

asked 2013-10-08 11:16:04 -0600

arm gravatar image

I am running the face detect sample with opencl acceleration and seeing runtime error when its trying to build the kernl for integral cols for NVIDIA GeForce 8600 GT graphics card.

Building source:./integral_cols_D4_GeForce 8600 GT .clb clCreateProgramWithSource status=0 source= all_build_options= clBuildProgram status=-42 OpenCV Error: Gpu API call (CL_INVALID_BINARY) in openCLGetKernelFromSource, file /home/ovuser/OpenCV/opencv-2.4.6.1/modules/ocl/src/initialization.cpp, line 668 terminate called after throwing an instance of 'cv::Exception' what(): /home/ovuser/OpenCV/opencv-2.4.6.1/modules/ocl/src/initialization.cpp:668: error: (-217) CL_INVALID_BINARY in function openCLGetKernelFromSource

Any pointers to debug this issue?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-10-10 13:59:58 -0600

arm gravatar image

updated 2013-10-10 14:01:58 -0600

Replacing GeForce 8600 GT with Quadro 600 board fixed the issue. I am quite new to OpenCL but It turned out GeForce 8600GT device does not support DOUBLE_SUPPORT hardware extension as well as atomic operations which is essential for some of the OpenCL kernels used in face detect sample. Hope this helps others!

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-10-08 11:16:04 -0600

Seen: 494 times

Last updated: Oct 10 '13