Basic HTML version of Foils prepared 17 Sept 1996

Foil 35 General Alignments in HPF

From New CPS615HPF and Fortran90 Discussion Sept 17 96 Basic Simulation Track for Computational Science CPS615 -- Fall Semester 96. by Geoffrey C. Fox, Tom Haupt


1 HPF allows for more general alignments such as:
  • REAL, DIMENSION(5,8) :: A,B
2 !HPF$ TEMPLATE T(12,12)
3 !HPF$ ALIGN A(:,J) WITH T(:,J+1)
4 !HPF$ ALIGN B(I,J) WITH T(I+4,J+4)
5 Useful for simple numerical shifts as in example but not useful
6 in general case of arbitary
7 index values allowed by
8 ALIGN syntax

in Table To:


© on Tue Oct 7 1997