Changes between Version 7 and Version 8 of CommonHelperFunctionsForDifferentParallelLanguage


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

--

Legend:

Unmodified
Added
Removed
Modified
  • CommonHelperFunctionsForDifferentParallelLanguage

    v7 v8  
    3131*/
    3232void $bundle_unpack_apply($bundle data, void *buf, int count, $operation op);
    33 
    34 /* Then MPI_Reduce() can has such a neat form */
    35 int MPI_Reduce(){
    36   if(non-root){
    37     Send to root;
    38   }else{
    39     &comm_dequeue();
    40     &bundle_unpack_apply();
    41   }
    42   ...
    43 }
    4433}}}