I am running the face detect sample with opencl acceleration on Ubuntu 12.04 and seeing runtime error when its trying to build the kernel 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