mirror of https://github.com/opencv/opencv.git
Open Source Computer Vision Library
https://opencv.org/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
356 B
21 lines
356 B
#include "perf_precomp.hpp" |
|
|
|
#ifdef HAVE_CUDA |
|
|
|
int main(int argc, char **argv) |
|
{ |
|
testing::InitGoogleTest(&argc, argv); |
|
Regression::Init("gpu"); |
|
TestBase::Init(argc, argv); |
|
return RUN_ALL_TESTS(); |
|
} |
|
|
|
#else |
|
|
|
int main(int argc, char** argv) |
|
{ |
|
printf("OpenCV was built without CUDA support\n"); |
|
return 0; |
|
} |
|
|
|
#endif
|
|
|