rename setOptimizations -> setUseOptimizations
This commit is contained in:
parent
cda6fed41f
commit
c10f1851cb
@ -727,7 +727,7 @@ CV_EXPORTS void setUseIPP(bool flag);
|
||||
|
||||
} // ipp
|
||||
|
||||
CV_EXPORTS void setOptimizations(bool enabled);
|
||||
CV_EXPORTS void setUseOptimizations(bool enabled);
|
||||
|
||||
//! @endcond
|
||||
|
||||
|
@ -1291,7 +1291,7 @@ void setUseTegra(bool flag)
|
||||
|
||||
namespace cv {
|
||||
|
||||
void setOptimizations(bool enabled)
|
||||
void setUseOptimizations(bool enabled)
|
||||
{
|
||||
ipp::setUseIPP(enabled);
|
||||
ocl::setUseOpenCL(enabled);
|
||||
|
@ -352,7 +352,7 @@ namespace cv { namespace cuda
|
||||
#ifdef HAVE_CUDA
|
||||
|
||||
#define CV_CUDA_TEST_MAIN(resourcesubdir) \
|
||||
CV_TEST_MAIN(resourcesubdir, cvtest::parseCudaDeviceOptions(argc, argv), cvtest::printCudaInfo(), cv::setOptimizations(false))
|
||||
CV_TEST_MAIN(resourcesubdir, cvtest::parseCudaDeviceOptions(argc, argv), cvtest::printCudaInfo(), cv::setUseOptimizations(false))
|
||||
|
||||
#else // HAVE_CUDA
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user