Basic HTML version of Foils prepared August 7 98

Foil 17 Example of Locality Assertion

From DoD HPF Training -- 6. HPF2 DoD Training and Others -- 1995-98. by Chuck Koelbel -- Rice University


1 !HPF$ ALIGN (i) WITH x(i) :: ix, y, iy
2 !HPF$ DISTRIBUTE x(BLOCK)
3 !HPF$ INDEPENDENT
4 DO i = 1, n
  • !HPF$ ON HOME( ix(i) ), RESIDENT(y(iy(i)))
  • x(i) = y(ix(i)) - y(iy(i))
5 END DO

in Table To:


© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sun Aug 9 1998