fixing conditional compilation

This commit is contained in:
Andrey Pavlenko 2014-03-25 13:16:42 +04:00
parent 7e03a8b279
commit 63a746c6ea

View File

@ -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
}