From 57b8640a7673a125d36e164539102f8e11ffabb7 Mon Sep 17 00:00:00 2001 From: Vladislav Vinogradov Date: Thu, 26 Feb 2015 19:36:13 +0300 Subject: [PATCH] disable all optimizations for CUDA tests --- modules/ts/include/opencv2/ts/cuda_test.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ts/include/opencv2/ts/cuda_test.hpp b/modules/ts/include/opencv2/ts/cuda_test.hpp index b225ab179..2f4ee6936 100644 --- a/modules/ts/include/opencv2/ts/cuda_test.hpp +++ b/modules/ts/include/opencv2/ts/cuda_test.hpp @@ -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