device kernel image is invalid


I’ve been trying to run SURFGPU code of Andre Schulz ( I had been using the same code 2 months before, but now i get “invalid kernel image” error in runtime. The code compiles with no problem. I’m not sure about what was exactly changed on the system. I’m using Gentoo Linux with OpenCV-2.3.0, cuda-toolkit-4.0, cuda-sdk-3.2 and nvidia-drivers-285.05.09-r1.

What may be a solution to this problem?

Thank you.