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:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -67,7 +67,6 @@
|
||||
#include "cvconfig.h"
|
||||
|
||||
#ifdef HAVE_CUDA
|
||||
#include <cuda.h>
|
||||
#include <cuda_runtime.h>
|
||||
|
||||
#include "opencv2/ts/ts.hpp"
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
|
||||
using namespace cvtest;
|
||||
|
||||
#if CUDA_VERSION >= 5000
|
||||
#if CUDART_VERSION >= 5000
|
||||
|
||||
struct Async : testing::TestWithParam<cv::gpu::DeviceInfo>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user