opencv/modules/gpu/perf/perf_main.cpp
Vladislav Vinogradov 457b8d7bff update gpu perf tests
2011-12-28 12:53:08 +00:00

21 lines
332 B
C++

#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(int argc, char** argv)
{
printf("OpenCV was built without CUDA support\n");
return 0;
}
#endif