disable all optimizations for CUDA tests

pull/3764/head
Vladislav Vinogradov 10 years ago
parent 12180bd7b1
commit 57b8640a76
  1. 2
      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

Loading…
Cancel
Save