EPPM icon indicating copy to clipboard operation
EPPM copied to clipboard

Pitched allocation for temporary image pyramid

Open julien-mille opened this issue 4 years ago • 0 comments

Hi, Using cuda-memcheck, I get errors in bao_cuda_construct_gauss_pyramid_pitched. The problem disappears when I replace calls to bao_cuda_pyr_alloc by calls to bao_cuda_pyr_alloc_pitched in bao_flow_patchmatch_multiscale_cuda::init(...)

Why are the temporary pyramids m_tempu1_pyr and m_tempu2_pyr allocated without pitch, whereas m_img1_pyr and m_img2_pyr contain pitched arrays? Is it intentional? Thanks!

julien-mille avatar Jan 16 '20 09:01 julien-mille