next up previous contents index
Next: The array dimension interchange Up: Simple functions Previous: The loop blocking transformation

Array padding

The array padding transformation sets a dimension in an array to a new size. The goal of this transformation is to reduce the number of memory system conflicts. The transformation is applied to a full function AST. The new size can be specified by the user or can be computed automatically. The array must be a local variable and it's dimension must be constant.

  $\blacktriangleright$ Fits:Padding:Check(UNIT,DIAGMESG,ARRAzY,DIM,SIZE)
 
This function checks if the array padding transformation can be applied.

  $\blacktriangleright$ Fits:Padding:Advice(UNIT,DIAGMESG,ARRAzY,DIM,SIZE)
 
This function emits a diagnostic about the interest of the array padding transformation

  $\blacktriangleright$ Fits:Padding:Safe(UNIT,DIAGMESG,ARRAzY,DIM,SIZE)
 
This function emits a diagnostic about the code produced by the array padding transformation

  $\blacktriangleright$ Fits:Padding:Apply(UNIT,DIAGMESG,ARRAzY,DIM,SIZE)
 
This statement applies the array padding transformation.


next up previous contents index
Next: The array dimension interchange Up: Simple functions Previous: The loop blocking transformation
Yann Mevel
1999-04-30