disable all optimizations for CUDA tests

This commit is contained in:
Vladislav Vinogradov 2015-02-26 19:36:13 +03:00
parent 12180bd7b1
commit 57b8640a76

View File

@ -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_TEST_MAIN(resourcesubdir, cvtest::parseCudaDeviceOptions(argc, argv), cvtest::printCudaInfo(), cv::setOptimizations(false))
#else // HAVE_CUDA