Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Error on vector<cuda::hostmem> host_src_pl(768, 1024, CV_8UC1, cuda::HostMem::PAGE_LOCKED)

When I try to create a vector of HostMem I get an error

 vector<cuda::HostMem> host_src_pl(768, 1024, CV_8UC1, cuda::HostMem::PAGE_LOCKED)

no matching function for call to ‘std::vector<cv::cuda::hostmem>::vector(int, int, int, cv::cuda::HostMem::AllocType)’

Is it not allowed to have a vector of HostMem ?