Dynamic CUDA support library reimplemented as OpenCV module.

This commit is contained in:
Alexander Smorkalov
2013-12-19 16:42:11 +04:00
parent 64c94cb22c
commit 037ffcdf99
10 changed files with 41 additions and 65 deletions

View File

@@ -82,7 +82,7 @@ using namespace cv::gpu;
#define throw_nogpu CV_Error(CV_GpuNotSupported, "The library is compiled without CUDA support")
#include "gpumat_cuda.hpp"
#include "opencv2/dynamicuda/dynamicuda.hpp"
#ifdef DYNAMIC_CUDA_SUPPORT
@@ -183,7 +183,7 @@ static bool loadCudaSupportLib()
dlclose(handle);
return false;
}
gpuFactory = (GpuFactoryType)dlsym(handle, "gpuFactory");
if (!gpuFactory)
{