Hi,
if I want to use the OpenCV function cv::gpu::CudaMem with page locked memory on the TX1, the software crahes with the last two commands. Is this the case because I have the Unified Memory for both, the CPU and the GPU?
using namespace cv;
// allocate page locked memory
gpu::CudaMem page_locked(1024, 1024, CV_16UC1, gpu::CudaMem::ALLOC_PAGE_LOCKED);
gpu::CudaMem zero_copy(1024, 1024, CV_16UC1, gpu::CudaMem::ALLOC_ZEROCOPY);
gpu::CudaMem write_combined(1024, 1024, CV_16UC1, gpu::CudaMem::ALLOC_WRITE_COMBINED);
// connect header with page-locked memory, dont copy data
gpu::GpuMat header_zero_copy = zero_copy.createGpuMatHeader();
// programms fails with both following lines
gpu::GpuMat header_page_locked = page_locked.createGpuMatHeader();
gpu::GpuMat header_write_combined = write_combined.createGpuMatHeader();
Best
ManuKlause