Commit f2a2467d authored by Ilya Lavrenov's avatar Ilya Lavrenov

enabled BufferPool

parent 0f1a0a98
...@@ -3494,9 +3494,8 @@ public: ...@@ -3494,9 +3494,8 @@ public:
OpenCLBufferPoolImpl() OpenCLBufferPoolImpl()
: currentReservedSize(0), maxReservedSize(0) : currentReservedSize(0), maxReservedSize(0)
{ {
// Note: Buffer pool is disabled by default, int poolSize = ocl::Device::getDefault().isIntel() ? 1 << 27 : 0;
// because we didn't receive significant performance improvement maxReservedSize = getConfigurationParameterForSize("OPENCV_OPENCL_BUFFERPOOL_LIMIT", poolSize);
maxReservedSize = getConfigurationParameterForSize("OPENCV_OPENCL_BUFFERPOOL_LIMIT", 0);
} }
virtual ~OpenCLBufferPoolImpl() virtual ~OpenCLBufferPoolImpl()
{ {
......
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