Basic HTML version of Foils prepared
17 Sept 1996
Foil 30 Example of Template and Processors
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
REAL, DIMENSION(40) :: A, B, C
!HPF$ PROCESSORS P(4)
!HPF$ TEMPLATE X(40)
!HPF$ ALIGN WITH X :: A, B, C
!HPF$ DISTRIBUTE X(BLOCK)
...
C = A + B
...
©
on Tue Oct 7 1997