[ HPF Home | Versions | Compilers | Projects | Publications | Applications | Benchmarks | Events | Contact ] |
The REALIGN directive is similar to the ALIGN directive but
is considered executable. An array (or template) may be realigned at
any time, provided it has been declared DYNAMIC (see Section
) Unlike redistribution (see Section
), realigning a data object does not cause any
other object to be remapped. (However, realignment of even a single
object, if it is large, could require a lot of computational and
communication effort at run time; the programmer must take care when
using this feature.)
Formally, the syntax of ALIGN and REALIGN is as follows:
XBNF
align-directive -to -rule
to to is ALIGN alignee align-directive-stuff
realign-directive -to -rule
to to is REALIGN alignee align-directive-stuff
-to or REALIGN align-attribute-stuff :: alignee-list
align-directive-stuff -to -rule
to to is ( align-source-list ) align-with-clause
align-attribute-stuff -to -rule
to to is [ ( align-source-list ) ] align-with-clause
alignee -to -rule
to to is object-name
align-source -to -rule
to to is :
-to or *
-to or align-dummy
align-dummy -to -rule
to to is scalar-int-variable
XBNF
Note that the possibility of an ALIGN directive of the form
_=13_}
©2000-2006 Rice University | [ Contact Us | HiPerSoft | Computer Science ] |