pull/2022/head
Alexander Smorkalov 11 years ago
parent 8660e048bc
commit 88a883e68e
  1. 2
      modules/core/cuda/main.cpp
  2. 2
      modules/core/include/opencv2/core/gpumat.hpp
  3. 2
      modules/core/src/gpumat.cpp

@ -25,6 +25,8 @@ using namespace std;
using namespace cv;
using namespace cv::gpu;
#define throw_nogpu CV_Error(CV_GpuNotSupported, "The library is compiled without CUDA support")
#include "gpumat_cuda.hpp"
#ifdef HAVE_CUDA

@ -48,8 +48,6 @@
#include "opencv2/core/core.hpp"
#include "opencv2/core/cuda_devptrs.hpp"
#define throw_nogpu CV_Error(CV_GpuNotSupported, "The library is compiled without CUDA support")
namespace cv { namespace gpu
{
//////////////////////////////// Initialization & Info ////////////////////////

@ -65,6 +65,8 @@ using namespace std;
using namespace cv;
using namespace cv::gpu;
#define throw_nogpu CV_Error(CV_GpuNotSupported, "The library is compiled without CUDA support")
#include "gpumat_cuda.hpp"
typedef GpuFuncTable* (*GpuFactoryType)();

Loading…
Cancel
Save