Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

OCL error - cl_khr_fp64

Hi, I´ve got another OpenCL problem, now using:

  • NVIDIA GTX560 Ti
  • OpenCV 2.4.4 built with OCL support

I get this kind of error:

:51:1: error: must specify '#pragma OPENCL EXTENSION cl_khr_fp64: enable' before using 'double'

F d = 0; ^ :31:11: note: instantiated from: ... etc...ends with:

OpenCV Error: Gpu API call (CL_BUILD_PROGRAM_FAILURE) in unknown function, file ......\modules\ocl\src\initialization.cpp, line 531*

Since I am not really experienced with OPENCL, does anyone has an idea how/where to specify that and what is the problem?

OCL error - cl_khr_fp64

Hi, I´ve got another OpenCL problem, now using:

  • NVIDIA GTX560 Ti
  • OpenCV 2.4.4 built with OCL support

I am using surf_matcher OCL sample.
I get this kind of error:

:51:1: error: must specify '#pragma OPENCL EXTENSION cl_khr_fp64: enable' before using 'double'

F d = 0; ^ :31:11: note: instantiated from: ... etc...ends with:

OpenCV Error: Gpu API call (CL_BUILD_PROGRAM_FAILURE) in unknown function, file ......\modules\ocl\src\initialization.cpp, line 531*

I can´t change OCL kernel file nonfree-surf.cu which does not specifies "#pragma OPENCL EXTENSION cl_khr_fp64: enable". Since I am not really experienced with OPENCL, does anyone has an idea how/where to specify that and what is the problem?

OCL error - cl_khr_fp64

Hi, I´ve got another OpenCL problem, now using:

  • NVIDIA GTX560 Ti
  • OpenCV 2.4.4 built with OCL support

I am using surf_matcher OCL sample.
I get this kind of error:

:51:1: error: must specify '#pragma OPENCL EXTENSION cl_khr_fp64: enable' before using 'double'

F d = 0; ^ :31:11: note: instantiated from: ... etc...ends with:

OpenCV Error: Gpu API call (CL_BUILD_PROGRAM_FAILURE) in unknown function, file ......\modules\ocl\src\initialization.cpp, line 531*

I can´t change OCL kernel file nonfree-surf.cu which does not specifies "#pragma OPENCL EXTENSION cl_khr_fp64: enable". Since I am not really experienced with OPENCL, does anyone has an idea how/where to specify that and what is the problem?

It seems like a bug in OpenCV for this sample, because when I run performance tests, every algorithm/sample is working except SURF.