mirror of
https://github.com/opencv/opencv.git
synced 2024-12-29 04:28:17 +08:00
4716f63444
used new CV_PERF_TEST_MAIN_WITH_IMPLS mechanism
12 lines
214 B
C++
12 lines
214 B
C++
#include "perf_precomp.hpp"
|
|
#include "opencv2/ts/gpu_perf.hpp"
|
|
|
|
static const char * impls[] = {
|
|
#ifdef HAVE_CUDA
|
|
"cuda",
|
|
#endif
|
|
"plain"
|
|
};
|
|
|
|
CV_PERF_TEST_MAIN_WITH_IMPLS(photo, impls, perf::printCudaInfo())
|