class cv::cuda::GpuMat
class cv::cuda::HostMem
#include <cuda.hpp> class Allocator { public: // methods virtual bool allocate( GpuMat* mat, int rows, int cols, size_t elemSize ) = 0; virtual void free(GpuMat* mat) = 0; };