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
1
!HPF$ PROCESSORS P(4)
2
!HPF$ TEMPLATE X(40)
3
!HPF$ ALIGN WITH X :: A, B, C
4
!HPF$ DISTRIBUTE X(BLOCK)
...
C = A + B
...
in Table To:
©
on Tue Oct 7 1997