1 |
This example illustrates remapping from one to two dimensional decomposition for A and changing B from alignment with columns to alignment with rows
|
2 | !HPF$ PROCESSORS P(64) |
3 | !HPF$ PROCESSORS Q(8,8) |
4 | !HPF$ DYNAMIC :: A,B |
5 | !HPF$ ALIGN B(:) WITH A(:,*) |
6 |
!HPF$ DISTRIBUTE A(*,BLOCK)ONTO P
|
7 |
!HPF$ REALIGN B(:) WITH A(*,:)
|
8 |
!HPF$ REDISTRIBUTE A(CYCLIC,CYCLIC) ONTO Q
|