fixed gpu performance tests:

used new CV_PERF_TEST_MAIN_WITH_IMPLS mechanism
This commit is contained in:
Vladislav Vinogradov
2013-07-16 15:43:04 +04:00
parent 3443fd85cd
commit 4716f63444
14 changed files with 45 additions and 29 deletions

View File

@@ -41,5 +41,13 @@
//M*/
#include "perf_precomp.hpp"
#include "opencv2/ts/gpu_perf.hpp"
CV_PERF_TEST_MAIN(softcascade)
static const char * impls[] = {
#ifdef HAVE_CUDA
"cuda",
#endif
"plain"
};
CV_PERF_TEST_MAIN_WITH_IMPLS(softcascade, impls, perf::printCudaInfo())