mirror of
https://github.com/opencv/opencv.git
synced 2025-06-07 17:44:04 +08:00
rename setOptimizations -> setUseOptimizations
This commit is contained in:
parent
cda6fed41f
commit
c10f1851cb
@ -727,7 +727,7 @@ CV_EXPORTS void setUseIPP(bool flag);
|
|||||||
|
|
||||||
} // ipp
|
} // ipp
|
||||||
|
|
||||||
CV_EXPORTS void setOptimizations(bool enabled);
|
CV_EXPORTS void setUseOptimizations(bool enabled);
|
||||||
|
|
||||||
//! @endcond
|
//! @endcond
|
||||||
|
|
||||||
|
@ -1291,7 +1291,7 @@ void setUseTegra(bool flag)
|
|||||||
|
|
||||||
namespace cv {
|
namespace cv {
|
||||||
|
|
||||||
void setOptimizations(bool enabled)
|
void setUseOptimizations(bool enabled)
|
||||||
{
|
{
|
||||||
ipp::setUseIPP(enabled);
|
ipp::setUseIPP(enabled);
|
||||||
ocl::setUseOpenCL(enabled);
|
ocl::setUseOpenCL(enabled);
|
||||||
|
@ -352,7 +352,7 @@ namespace cv { namespace cuda
|
|||||||
#ifdef HAVE_CUDA
|
#ifdef HAVE_CUDA
|
||||||
|
|
||||||
#define CV_CUDA_TEST_MAIN(resourcesubdir) \
|
#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
|
#else // HAVE_CUDA
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user