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
|
|
|
|
|
2012-02-22 11:00:53 +01:00
|
|
|
int main()
|
2011-09-07 15:16:07 +02:00
|
|
|
{
|
|
|
|
printf("OpenCV was built without CUDA support\n");
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|