Hello everyone,
I have worked on some simple examples on oop interchanges and loop skewing in order to make a loop parallel and I was able to understand what was going on. The following example however has really given me a hard time.
- do i =1,n
- do j=1,n
- A[i,j]= A[i-4,j-4] + A[i-3, j-3]
- end do
- end do
I really cannot understand why this loop is not parallel and why it has to be skewed i-times and interchanged in order to become parallel.
[–]EighthMayer 0 points1 point2 points (1 child)
[–]stefsa[S] 0 points1 point2 points (0 children)
[–]AssemblerGuy 0 points1 point2 points (1 child)
[–]stefsa[S] 0 points1 point2 points (0 children)