remove redundant OPENCL_DIR flag
remove as much warnings as possible use enum instead of MACRO for ocl.hpp add command line parser in accuracy test and perf test some bug fix for arthim functions
This commit is contained in:
@@ -51,13 +51,17 @@ using namespace cv;
|
||||
using namespace cv::ocl;
|
||||
using namespace std;
|
||||
|
||||
#if !defined (HAVE_OPENCL)
|
||||
#if !defined HAVE_OPENCL
|
||||
void cv::ocl::dft(const oclMat &src, oclMat &dst, int flags)
|
||||
{
|
||||
throw_nogpu();
|
||||
}
|
||||
#elif !defined HAVE_CLAMDFFT
|
||||
void cv::ocl::dft(const oclMat &src, oclMat &dst, int flags)
|
||||
{
|
||||
CV_Error(CV_StsNotImplemented, "OpenCL DFT is not implemented");
|
||||
}
|
||||
#else
|
||||
|
||||
#include <clAmdFft.h>
|
||||
|
||||
namespace cv
|
||||
|
||||
Reference in New Issue
Block a user