S3L_reduce accepts the following arguments as input:
A - Array handle for the parallel array to be reduced.
op - Specifies the type of operation to be performed; it can be one of:
S3L_OP_SUM
S3L_OP_MIN
S3L_OP_MAX