(j3.2006) CO_BROADCAST vs. CO_REDUCE

Bill Long longb
Thu Sep 18 16:15:24 EDT 2014


On Sep 18, 2014, at 2:56 PM, Bill Long <longb at cray.com> wrote:

> 
> The call to CO_REDUCE nominally only supplies the address of A and the entry point for the OPERATOR function. 

So, that?s not right for A.  Since A is allowed to be an array, the call will somehow need to also supply element size and shape information.  Most likely just the normal descriptor used for other intrinsics with array arguments.  Internally, CO_REDUCE uses this information to generate the addresses for each of the elements of A to be used in the call to OPERATOR.

Cheers,
Bill


Bill Long                                                                       longb at cray.com
Fortran Technical Suport  &                                  voice:  651-605-9024
Bioinformatics Software Development                     fax:  651-605-9142
Cray Inc./ Cray Plaza, Suite 210/ 380 Jackson St./ St. Paul, MN 55101





More information about the J3 mailing list