Basic HTML version of Foils prepared
16 Sept 1995
Foil 13 Example of Template and Processors
From
HPFtutorial CPS615 Basic Simulation Track for Computational Science --
Fall Semester 95
.
by
Geoffrey C. Fox(Tomasz Haupt)
REAL, ARRAY(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