41
The Reduction Case
•Partial reduction applies reduction to an array to produce a subarray … two regions needed
•“Statement region” specifies the shape of the result
•“Expression region” specifies the shape of the operand
•The subarray that is combined is the subarray of the operand formed by the singleton dimensions
•[1..m,1] Max1 := max<< [1..m,1..n] A;
Statement region
Max1 declared [1..m, 1]
Partial reduction
Expression region
A declared [1..m, 1..n]