core/ocl: OpenCLBufferPool

This commit is contained in:
Alexander Alekhin
2014-01-16 18:30:39 +04:00
parent 22146e4b18
commit 485635310c
10 changed files with 479 additions and 14 deletions

View File

@@ -56,7 +56,7 @@ UMatData::UMatData(const MatAllocator* allocator)
prevAllocator = currAllocator = allocator;
urefcount = refcount = 0;
data = origdata = 0;
size = 0;
size = 0; capacity = 0;
flags = 0;
handle = 0;
userdata = 0;
@@ -67,7 +67,7 @@ UMatData::~UMatData()
prevAllocator = currAllocator = 0;
urefcount = refcount = 0;
data = origdata = 0;
size = 0;
size = 0; capacity = 0;
flags = 0;
handle = 0;
userdata = 0;