fixing conditional compilation
This commit is contained in:
parent
7e03a8b279
commit
63a746c6ea
@ -33,7 +33,9 @@ int main(int argc, char **argv)
|
||||
::perf::TestBase::setPerformanceStrategy(::perf::PERF_STRATEGY_SIMPLE);
|
||||
#if defined(HAVE_CUDA)
|
||||
CV_PERF_TEST_MAIN_INTERNALS(nonfree, impls, perf::printCudaInfo());
|
||||
#else if defined(HAVE_OPENCL)
|
||||
#elif defined(HAVE_OPENCL)
|
||||
CV_PERF_TEST_MAIN_INTERNALS(nonfree, impls, dumpOpenCLDevice());
|
||||
#else
|
||||
CV_PERF_TEST_MAIN_INTERNALS(ocl, impls)
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user