Commit 3cf53592 authored by Namgoo Lee's avatar Namgoo Lee

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

parent a75840d1
...@@ -552,7 +552,7 @@ Stream cv::cuda::StreamAccessor::wrapStream(cudaStream_t stream) ...@@ -552,7 +552,7 @@ Stream cv::cuda::StreamAccessor::wrapStream(cudaStream_t stream)
namespace namespace
{ {
bool enableMemoryPool = true; bool enableMemoryPool = false;
class StackAllocator : public GpuMat::Allocator class StackAllocator : public GpuMat::Allocator
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment