Commit 51a672ec authored by Roman Donchenko's avatar Roman Donchenko

Disabled the cuda variant when CUDA is not available.

parent 7a104d27
......@@ -44,4 +44,8 @@
using namespace perf;
CV_PERF_TEST_MAIN_WITH_IMPLS(gpu, ("cuda", "plain"), printCudaInfo())
CV_PERF_TEST_MAIN_WITH_IMPLS(gpu, (
#ifdef HAVE_CUDA
"cuda",
#endif
"plain"), printCudaInfo())
#include "perf_precomp.hpp"
#include "opencv2/ts/gpu_perf.hpp"
CV_PERF_TEST_MAIN_WITH_IMPLS(nonfree, ("cuda", "plain"), perf::printCudaInfo())
CV_PERF_TEST_MAIN_WITH_IMPLS(nonfree, (
#ifdef HAVE_CUDA
"cuda",
#endif
"plain"), perf::printCudaInfo())
......@@ -44,4 +44,8 @@
using namespace perf;
CV_PERF_TEST_MAIN_WITH_IMPLS(superres, ("cuda", "plain"), printCudaInfo())
CV_PERF_TEST_MAIN_WITH_IMPLS(superres, (
#ifdef HAVE_CUDA
"cuda",
#endif
"plain"), printCudaInfo())
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