moved BufferPool management functions to public

This commit is contained in:
Vladislav Vinogradov
2013-10-07 18:31:33 +04:00
parent 5ea8085220
commit 3b412b51ac
4 changed files with 8 additions and 7 deletions

View File

@@ -95,10 +95,10 @@ PERF_TEST_P(Sz, BufferPool, CUDA_TYPICAL_MAT_SIZES)
GpuMat src1(host_src), src2(host_src);
GpuMat dst;
setBufferAllocatorUsage(useBufferPool);
setBufferPoolUsage(useBufferPool);
if (useBufferPool && first)
{
allocateMemoryPool(-1, 25 * 1024 * 1024, 2);
setBufferPoolConfig(-1, 25 * 1024 * 1024, 2);
first = false;
}