cuda_stream: do not allocate GPU memory by default (fixes #8725)

pull/10751/head
Namgoo Lee 7 years ago
parent a75840d19c
commit 3cf535926a
  1. 2
      modules/core/src/cuda_stream.cpp

@ -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…
Cancel
Save