mirror of
https://github.com/opencv/opencv.git
synced 2024-11-24 03:00:14 +08:00
Added no-imp placeholder when HAVE_CUDA is false
This commit is contained in:
parent
2db7f8e827
commit
f67d4852bf
@ -420,6 +420,11 @@ void cv::cuda::GpuMat::setDefaultAllocator(Allocator* allocator)
|
||||
throw_no_cuda();
|
||||
}
|
||||
|
||||
GpuMat::Allocator* cv::cuda::GpuMat::getStdAllocator()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
void cv::cuda::GpuMat::create(int _rows, int _cols, int _type)
|
||||
{
|
||||
CV_UNUSED(_rows);
|
||||
|
Loading…
Reference in New Issue
Block a user