Ask Your Question
0

OCL error - cl_khr_fp64

asked 2013-03-13 04:23:36 -0600

mada gravatar image

updated 2013-03-14 05:55:59 -0600

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.

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
2

answered 2013-04-03 02:37:23 -0600

pengx gravatar image

Hi, this is a known bug and it should have been fixed now. Can you try it again?

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-03-13 04:23:36 -0600

Seen: 612 times

Last updated: Apr 03 '13