Attention! This forum will be made read-only by Dec-20. Please migrate to Most of existing active users should've received invitation by e-mail.
Ask Your Question

how to use page-locked memory, the CudaMem class

asked 2013-01-31 04:50:13 -0500

Ikarus79 gravatar image

Hello guys,

I'm quite new in Cuda programming as well. For me it's still quite unclear how to use the CudaMem class. for example how I can do following using page_locked or even zero_copy memory:

Mat srcCpu3ChImg;
Mat outCpu4ChImg;

GpuMat srcGpu3ChImg;
GpuMat outGpu4ChImg;

// load srcCpu3ChImg

cv::gpu::cvtColor(srcGpu3ChImg, outGpu4ChImg, CV_BGR2BGRA);;

thank you a lot in advance cheers greg

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-02-06 04:51:14 -0500

Ikarus79 gravatar image

tnx anyhow,

for everyone how has the same difficulties I had:

cheers greg

edit flag offensive delete link more
Login/Signup to Answer

Question Tools


Asked: 2013-01-31 04:50:13 -0500

Seen: 511 times

Last updated: Feb 06 '13