EPPM
EPPM copied to clipboard
Pitched allocation for temporary image pyramid
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!