How to get error message when running OpenCL kernel
Is there a way to know what caused an OpenCL kernel (cv::ocl::Kernel
) run to fail? It's very hard to debug with the run()
method only returning false
, but not being able to get the reason why it failed...