1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 00:03:03 +04:00

get rid of cuda.h usage

This commit is contained in:
Vladislav Vinogradov
2014-11-25 18:29:56 +03:00
parent 3dd1afe4ec
commit eeb997261d
10 changed files with 17 additions and 19 deletions
+2 -2
View File
@@ -2048,7 +2048,7 @@ GPU_TEST_P(CvtColor, Luv2LRGBA)
EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_8U ? 1 : 1e-4);
}
#if defined (CUDA_VERSION) && (CUDA_VERSION >= 5000)
#if defined (CUDART_VERSION) && (CUDART_VERSION >= 5000)
GPU_TEST_P(CvtColor, RGBA2mRGBA)
{
@@ -2066,7 +2066,7 @@ GPU_TEST_P(CvtColor, RGBA2mRGBA)
EXPECT_MAT_NEAR(dst_gold, dst, 1);
}
#endif // defined (CUDA_VERSION) && (CUDA_VERSION >= 5000)
#endif // defined (CUDART_VERSION) && (CUDART_VERSION >= 5000)
GPU_TEST_P(CvtColor, BayerBG2BGR)
{
-1
View File
@@ -67,7 +67,6 @@
#include "cvconfig.h"
#ifdef HAVE_CUDA
#include <cuda.h>
#include <cuda_runtime.h>
#include "opencv2/ts/ts.hpp"
+1 -1
View File
@@ -46,7 +46,7 @@
using namespace cvtest;
#if CUDA_VERSION >= 5000
#if CUDART_VERSION >= 5000
struct Async : testing::TestWithParam<cv::gpu::DeviceInfo>
{