On 9/27/23 04:14, juzhe.zh...@rivai.ai wrote:
Can you expand on this? You didn't indicate the failure mode or any analysis behind the failure.Since after removing mem-to-mem pattern. program main integer, dimension(:,:), allocatable :: a, b integer, dimension(:), allocatable :: sh allocate (a(2,2)) allocate (b(2,2)) allocate (sh(3)) a = 1 b = cshift(a,sh) end program main This case will failed if we don't change mov pattern.
jeff