opencv/modules/gpu/perf/perf_main.cpp

21 lines
311 B
C++
Raw Normal View History

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