Basic HTML version of Foils prepared August 7 98

Foil 11 Rules for Mapping Pointers

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


1 In the core language of HPF 2
  • Pointers cannot be mapped
  • Targets of pointers cannot be mapped (i.e. variables with the TARGET attribute)
2 In the HPF 2 approved extensions
  • Pointers can be mapped
    • ALIGN and DISTRIBUTE take effect after ALLOCATE
    • INHERIT can be used to declare a pointer to ³anything²
  • Targets can be mapped
  • In a pointer assignment, the target¹s mapping must be a specialization of the pointer's
    • That is, the pointer has to be higher in the diagram than the thing it points at
    • If the target is an array section, the pointer must have the INHERIT attribute

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