mirror of
https://github.com/opencv/opencv.git
synced 2025-06-09 10:40:46 +08:00
fixed 2228
This commit is contained in:
parent
989631c5cc
commit
8d73bbb8b7
@ -255,6 +255,8 @@ private:
|
|||||||
|
|
||||||
ncvAssertPrintReturn(gpuAllocator->isInitialized(), "Error creating GPU memory allocator", NCV_CUDA_ERROR);
|
ncvAssertPrintReturn(gpuAllocator->isInitialized(), "Error creating GPU memory allocator", NCV_CUDA_ERROR);
|
||||||
ncvAssertPrintReturn(cpuAllocator->isInitialized(), "Error creating CPU memory allocator", NCV_CUDA_ERROR);
|
ncvAssertPrintReturn(cpuAllocator->isInitialized(), "Error creating CPU memory allocator", NCV_CUDA_ERROR);
|
||||||
|
|
||||||
|
lastAllocatedFrameSize = frameSize;
|
||||||
return NCV_SUCCESS;
|
return NCV_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user