Fix ocl::dft error when program end on Linux

This commit is contained in:
yao
2013-02-26 17:44:19 +08:00
parent 620c699456
commit 62f8b0fc48
2 changed files with 5 additions and 0 deletions

View File

@@ -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