opencv/modules/gpu/perf/perf_main.cpp

21 lines
332 B
C++
Raw Normal View History

2011-09-07 21:16:07 +08:00
#include "perf_precomp.hpp"
#ifdef HAVE_CUDA
int main(int argc, char **argv)
{
testing::InitGoogleTest(&argc, argv);
2011-12-28 20:53:08 +08:00
perf::TestBase::Init(argc, argv);
2011-09-07 21:16:07 +08:00
return RUN_ALL_TESTS();
}
#else
int main(int argc, char** argv)
{
printf("OpenCV was built without CUDA support\n");
return 0;
}
#endif