#include "petscthreadcomm.h" PetscErrorCode PetscThreadReductionBegin(MPI_Comm comm,PetscThreadCommReductionOp op, PetscDataType type,PetscInt nreds,PetscThreadCommReduction *redout)
| comm | - the MPI comm | |
| op | - the reduction operation | |
| type | - the data type for reduction | |
| nreds | - Number of reductions |
To be called from the main thread before calling PetscThreadCommRunKernel
Level:developer
Location:src/sys/threadcomm/interface/threadcommred.c
Index of all PetscThreadComm routines
Table of Contents for all manual pages
Index of all manual pages