1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#include "perf_precomp.hpp" #include "opencv2/ts/cuda_perf.hpp" static const char * impls[] = { #ifdef HAVE_CUDA "cuda", #endif "plain" }; #if defined(HAVE_HPX) #include <hpx/hpx_main.hpp> #endif CV_PERF_TEST_MAIN_WITH_IMPLS(photo, impls, perf::printCudaInfo())