Changes between Version 6 and Version 7 of CommonHelperFunctionsForDifferentParallelLanguage


Ignore:
Timestamp:
08/28/14 17:02:16 (12 years ago)
Author:
ziqing
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CommonHelperFunctionsForDifferentParallelLanguage

    v6 v7  
    2727   For every binary operarions defined in &operation, data will be used as the left operand and
    2828   buf will be used as right operand and input and ouput argument. The value of buf as an input
    29    argument provides operands for this operation. Finally buf is also an output argument.
     29   argument provides operands for this operation. Finally buf is also an output argument. The
     30   argument "count" stands for the number of elements participating the operation.
    3031*/
    31 void $bundle_unpack_apply($bundle data, void *buf, int size, $operation op);
     32void $bundle_unpack_apply($bundle data, void *buf, int count, $operation op);
    3233
    3334/* Then MPI_Reduce() can has such a neat form */