2011-02-16 12:38:58 +01:00
|
|
|
#include "test_precomp.hpp"
|
|
|
|
|
2011-02-21 07:46:45 +01:00
|
|
|
int main(int argc, char **argv)
|
|
|
|
{
|
|
|
|
cvtest::TS::ptr()->init("gpu");
|
|
|
|
::testing::InitGoogleTest(&argc, argv);
|
|
|
|
#ifdef HAVE_CUDA
|
|
|
|
return RUN_ALL_TESTS();
|
|
|
|
#else
|
|
|
|
std::cerr << "opencv_test_gpu: OpenCV was compiled without GPU support\n";
|
|
|
|
return -1;
|
|
|
|
#endif
|
|
|
|
}
|