From 3cf535926a9275080aec9f12d966e4c0bd89bdad Mon Sep 17 00:00:00 2001 From: Namgoo Lee Date: Thu, 1 Feb 2018 03:45:51 +0900 Subject: [PATCH] cuda_stream: do not allocate GPU memory by default (fixes #8725) --- modules/core/src/cuda_stream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/src/cuda_stream.cpp b/modules/core/src/cuda_stream.cpp index 696771404c..340cf102e1 100644 --- a/modules/core/src/cuda_stream.cpp +++ b/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 {