mirror of
https://github.com/opencv/opencv.git
synced 2024-12-22 06:27:59 +08:00
13 lines
308 B
C++
13 lines
308 B
C++
#include "test_precomp.hpp"
|
|
|
|
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
|
|
} |