Changes between Version 6 and Version 7 of CommonHelperFunctionsForDifferentParallelLanguage
- Timestamp:
- 08/28/14 17:02:16 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CommonHelperFunctionsForDifferentParallelLanguage
v6 v7 27 27 For every binary operarions defined in &operation, data will be used as the left operand and 28 28 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. 30 31 */ 31 void $bundle_unpack_apply($bundle data, void *buf, int size, $operation op);32 void $bundle_unpack_apply($bundle data, void *buf, int count, $operation op); 32 33 33 34 /* Then MPI_Reduce() can has such a neat form */
