added cpu performance test for gpu module

This commit is contained in:
Vladislav Vinogradov
2012-05-22 08:29:08 +00:00
parent 8429c109be
commit d78aa7c937
14 changed files with 3117 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
#include "perf_precomp.hpp"
#ifdef HAVE_CUDA
int main(int argc, char **argv)
{
testing::InitGoogleTest(&argc, argv);
perf::TestBase::Init(argc, argv);
return RUN_ALL_TESTS();
}
#else
int main()
{
printf("OpenCV was built without CUDA support\n");
return 0;
}
#endif