Regions are index sets that are used to define parallel arrays and define the domain for parallel array operations. Regions can be defined as follows:
region R = [1..n, 1..m];Constants and config variables are the only integral expressions which can be used to define the bounds of a named region.
Once defined, regions can be used to declare parallel arrays:
var A, B: [R] float; I: [R] integer;Regions are applied to statements to define the domain over which the computation should occur. The following use of the region [R] indicates that each element of B in the index set R will be assigned to the corresponding element of A.
[R] A := B;All parallel arrays in a statement must have storage for the indices of the region that applies to it.