Commit 57b8640a authored by Vladislav Vinogradov's avatar Vladislav Vinogradov

disable all optimizations for CUDA tests

parent 12180bd7
...@@ -352,7 +352,7 @@ namespace cv { namespace cuda ...@@ -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_TEST_MAIN(resourcesubdir, cvtest::parseCudaDeviceOptions(argc, argv), cvtest::printCudaInfo(), cv::setOptimizations(false))
#else // HAVE_CUDA #else // HAVE_CUDA
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment