Subject: chapter 3

From: [email-masked] (Denis Hugli)
Date: Thu, 29 Apr 1993 14:15:55 +0200

Consider this HPF script :

      REAL A(8,8), B(8,8)
!HPF$ PROCESSORS P(4)
!HPF$ DISTRIBUTE A(CYCLIC,CYCLIC) ONTO P

      ...

the expected mapping for A should be something like that :

                     A

     1    2    3    4    5    6    7    8 
  -----------------------------------------
1 |P(1)|P(2)|P(3)|P(4)|P(1)|P(2)|P(3)|P(4)|  
  -----------------------------------------
2 |P(2)|P(3)|P(4)|P(1)|P(2)|P(3)|P(4)|P(1)|  
  -----------------------------------------
3 |P(3)|P(4)|P(1)|P(2)|P(3)|P(4)|P(1)|P(2)|  
  -----------------------------------------
4 |P(4)|P(1)|P(2)|P(3)|P(4)|P(1)|P(2)|P(3)|  
  -----------------------------------------  
5 |P(1)|P(2)|P(3)|P(4)|P(1)|P(2)|P(3)|P(4)|  
  -----------------------------------------
6 |P(2)|P(3)|P(4)|P(1)|P(2)|P(3)|P(4)|P(1)|  
  -----------------------------------------
7 |P(3)|P(4)|P(1)|P(2)|P(3)|P(4)|P(1)|P(2)|  
  -----------------------------------------
8 |P(4)|P(1)|P(2)|P(3)|P(4)|P(1)|P(2)|P(3)|  
  -----------------------------------------