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