mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
core/ocl: OpenCLBufferPool
This commit is contained in:
@@ -43,6 +43,8 @@
|
||||
#include "precomp.hpp"
|
||||
#include "opencl_kernels.hpp"
|
||||
|
||||
#include "bufferpool.impl.hpp"
|
||||
|
||||
/****************************************************************************************\
|
||||
* [scaled] Identity matrix initialization *
|
||||
\****************************************************************************************/
|
||||
@@ -157,6 +159,12 @@ void MatAllocator::copy(UMatData* usrc, UMatData* udst, int dims, const size_t s
|
||||
memcpy(ptrs[1], ptrs[0], planesz);
|
||||
}
|
||||
|
||||
BufferPoolController* MatAllocator::getBufferPoolController() const
|
||||
{
|
||||
static DummyBufferPoolController dummy;
|
||||
return &dummy;
|
||||
}
|
||||
|
||||
class StdMatAllocator : public MatAllocator
|
||||
{
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user