opencv/modules/gpu/perf_cpu/perf_main.cpp

21 lines
315 B
C++
Raw Normal View History

2012-05-22 18:29:58 +08:00
#include "perf_cpu_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