Getting segmentation fault when ocl::canny api is executed (Bug #4375)
Description
Dear OpenCV,
I am getting a segmentation fault issue while using ocl::Canny() api.
GPU - Device : Quadro FX 580
OpenCV- 2.4.11
I have written a simple program which uses ocl::Canny() api, but getting the below error at the run time:
--------------------------------------------
BUILD LOG: imgproc_canny:
(0) Error: unsupported operation
OpenCV Error: Gpu API call (CL_BUILD_PROGRAM_FAILURE) in getOrBuildProgram, file /home/mithun/Desktop/opencv/opencv-2.4.11/modules/ocl/src/cl_programcache.cpp, line 445
terminate called after throwing an instance of 'cv::Exception'
what(): /home/mithun/Desktop/opencv/opencv-2.4.11/modules/ocl/src/cl_programcache.cpp:445: error: (-217) CL_BUILD_PROGRAM_FAILURE in function getOrBuildProgram
Stack dump:
Segmentation fault (core dumped)
--------------------------------------------------------------
Core dump is attached for your reference.
I also wonder whether the GPU is supported