\r
#include "test_precomp.hpp"\r
\r
-OutputLevel nvidiaTestOutputLevel = OutputLevelCompact;\r
-\r
#ifdef HAVE_CUDA\r
\r
using namespace cvtest;\r
using namespace testing;\r
\r
+OutputLevel nvidiaTestOutputLevel = OutputLevelCompact;\r
+\r
struct NVidiaTest : TestWithParam<cv::gpu::DeviceInfo>\r
{\r
cv::gpu::DeviceInfo devInfo;\r
\r
#include "cvconfig.h"\r
\r
-#include "opencv2/core/core.hpp"\r
-#include "opencv2/highgui/highgui.hpp"\r
-#include "opencv2/calib3d/calib3d.hpp"\r
-#include "opencv2/imgproc/imgproc.hpp"\r
-#include "opencv2/video/video.hpp"\r
-#include "opencv2/ts/ts.hpp"\r
-#include "opencv2/ts/ts_perf.hpp"\r
-#include "opencv2/gpu/gpu.hpp"\r
-#include "opencv2/nonfree/nonfree.hpp"\r
-#include "opencv2/legacy/legacy.hpp"\r
-\r
-#include "utility.hpp"\r
-#include "interpolation.hpp"\r
-#include "main_test_nvidia.h"\r
-\r
#ifdef HAVE_CUDA\r
#include <cuda.h>\r
#include <cuda_runtime.h>\r
+\r
+ #include "opencv2/core/core.hpp"\r
+ #include "opencv2/highgui/highgui.hpp"\r
+ #include "opencv2/calib3d/calib3d.hpp"\r
+ #include "opencv2/imgproc/imgproc.hpp"\r
+ #include "opencv2/video/video.hpp"\r
+ #include "opencv2/ts/ts.hpp"\r
+ #include "opencv2/ts/ts_perf.hpp"\r
+ #include "opencv2/gpu/gpu.hpp"\r
+ #include "opencv2/nonfree/nonfree.hpp"\r
+ #include "opencv2/legacy/legacy.hpp"\r
+\r
+ #include "utility.hpp"\r
+ #include "interpolation.hpp"\r
+ #include "main_test_nvidia.h"\r
#endif\r
\r
#endif\r
#ifndef __OPENCV_TEST_UTILITY_HPP__\r
#define __OPENCV_TEST_UTILITY_HPP__\r
\r
-#include <vector>\r
-#include <string>\r
-#include "opencv2/core/core.hpp"\r
-#include "opencv2/highgui/highgui.hpp"\r
-#include "opencv2/gpu/gpu.hpp"\r
-#include "opencv2/ts/ts.hpp"\r
-#include "opencv2/ts/ts_perf.hpp"\r
-\r
//////////////////////////////////////////////////////////////////////\r
// random generators\r
\r