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
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