Extended the CPU/GPU selection mechanism in performance tests.

Now it allows choosing between arbitrary implementation variants.
This commit is contained in:
Roman Donchenko
2013-06-11 16:06:51 +04:00
parent 1d9660c6d2
commit 936236e4b1
5 changed files with 81 additions and 46 deletions

View File

@@ -1,4 +1,4 @@
#include "perf_precomp.hpp"
#include "opencv2/ts/gpu_perf.hpp"
CV_PERF_TEST_MAIN(nonfree, perf::printCudaInfo())
CV_PERF_TEST_MAIN_WITH_IMPLS(nonfree, ("cuda", "plain"), perf::printCudaInfo())