Fix ocl::dft error when program end on Linux
This commit is contained in:
@@ -54,6 +54,9 @@ void cv::ocl::dft(const oclMat&, oclMat&, Size, int)
|
||||
{
|
||||
CV_Error(CV_StsNotImplemented, "OpenCL DFT is not implemented");
|
||||
}
|
||||
namespace cv { namespace ocl {
|
||||
void fft_teardown(){}
|
||||
}}
|
||||
#else
|
||||
#include "clAmdFft.h"
|
||||
namespace cv
|
||||
|
||||
Reference in New Issue
Block a user