mirror of
https://github.com/opencv/opencv.git
synced 2025-08-05 22:19:14 +08:00
cuda_stream: do not allocate GPU memory by default (fixes #8725)
This commit is contained in:
parent
a75840d19c
commit
3cf535926a
@ -552,7 +552,7 @@ Stream cv::cuda::StreamAccessor::wrapStream(cudaStream_t stream)
|
||||
|
||||
namespace
|
||||
{
|
||||
bool enableMemoryPool = true;
|
||||
bool enableMemoryPool = false;
|
||||
|
||||
class StackAllocator : public GpuMat::Allocator
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user