Basic HTML version of Foils prepared August 7 98

Foil 37 EXTRINSIC(HPF_LOCAL)

From DoD HPF Training -- 3. Parallel Constructs in HPF DoD Training and Others -- 1995-98. by Chuck Koelbel -- Rice University


1 HPF_LOCAL is a SPMD language that meshes well with łglobal˛ HPF
  • ­ It can do things HPF canąt
  • ­ Global HPF can do things it canąt
2 On the caller (global HPF) side
  • EXTRINSIC(HPF_LOCAL) REAL FUNCTION foo(x)
  • REAL x(:)
  • !HPF$ DISTRIBUTE x(BLOCK)
3 On the callee (local HPF) side
  • EXTRINSIC(HPF_LOCAL) REAL FUNCTION foo(x)
  • REAL x(:)
4 Inside foo, SIZE(x) checks the local section of x
5 HPF_LOCAL_LIBRARY provides GLOBAL_SIZE(x) to check the global size of x

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