next up previous contents
Next: LU Decomposition Up: Procedures Previous: Procedures

Solution

7 marks in total.

  1. No INTENT. 1 mark
  2. the array section is not mapped as shown. The compiler would have to remap the section onto the whole processor array P on entry to the procedure and then remap back on exit. 2 marks

Could either:

  1. pass whole array. 2 marks
  2. call a different version of Feck on each call and use a TEMPLATE to specify how the data is aligned. 2 marks

next up previous contents
Next: LU Decomposition Up: Procedures Previous: Procedures

Adam Marshall ©University of Liverpool, 1996
Fri Dec 6 14:10:26 GMT 1996