ocl: async cl_buffer cleanup queue (for event callback)

This commit is contained in:
Alexander Alekhin
2017-07-06 17:57:05 +03:00
parent 34046ec682
commit da8dbf6cf5
2 changed files with 50 additions and 1 deletions
+3 -1
View File
@@ -497,7 +497,9 @@ struct CV_EXPORTS UMatData
{
enum { COPY_ON_MAP=1, HOST_COPY_OBSOLETE=2,
DEVICE_COPY_OBSOLETE=4, TEMP_UMAT=8, TEMP_COPIED_UMAT=24,
USER_ALLOCATED=32, DEVICE_MEM_MAPPED=64};
USER_ALLOCATED=32, DEVICE_MEM_MAPPED=64,
ASYNC_CLEANUP=128
};
UMatData(const MatAllocator* allocator);
~UMatData();