Home
last modified time | relevance | path

Searched refs:combiner (Results 1 – 4 of 4) sorted by relevance

/petsc/src/vec/is/sf/interface/
H A Dsftype.c16 PetscMPIInt combiner; in MPIPetsc_Type_free() local
19 PetscCallMPI(MPIPetsc_Type_get_envelope(*a, &nints, &naddrs, &ncounts, &ntypes, &combiner)); in MPIPetsc_Type_free()
21 if (combiner != MPI_COMBINER_NAMED) PetscCallMPI(MPI_Type_free(a)); in MPIPetsc_Type_free()
28 …U_Count *nints, MPIU_Count *naddrs, MPIU_Count *ncounts, MPIU_Count *ntypes, PetscMPIInt *combiner) in MPIPetsc_Type_get_envelope() argument
32 PetscCallMPI(MPI_Type_get_envelope_c(datatype, nints, naddrs, ncounts, ntypes, combiner)); in MPIPetsc_Type_get_envelope()
37 PetscCallMPI(MPI_Type_get_envelope(datatype, &mints, &maddrs, &mtypes, combiner)); in MPIPetsc_Type_get_envelope()
72 PetscMPIInt combiner, ints[1] = {0}; in MPIPetsc_Type_unwrap() local
80 PetscCall(MPIPetsc_Type_get_envelope(a, &nints, &naddrs, &ncounts, &ntypes, &combiner)); in MPIPetsc_Type_unwrap()
81 if (combiner == MPI_COMBINER_DUP) { in MPIPetsc_Type_unwrap()
94 } else if (combiner == MPI_COMBINER_CONTIGUOUS) { in MPIPetsc_Type_unwrap()
/petsc/src/sys/mpiuni/
H A Dmpi.c97 …pe(MPI_Datatype datatype, int *num_integers, int *num_addresses, int *num_datatypes, int *combiner) in MPI_Type_get_envelope() argument
105 *combiner = comb; in MPI_Type_get_envelope()
111 *combiner = comb; in MPI_Type_get_envelope()
117 *combiner = comb; in MPI_Type_get_envelope()
/petsc/config/BuildSystem/config/packages/
H A DMPI.py1004 for combiner in ['MPI_COMBINER_DUP', 'MPI_COMBINER_CONTIGUOUS', 'MPI_COMBINER_NAMED']:
1005 if self.checkCompile('#include <mpi.h>', 'int combiner = %s;(void)combiner' % (combiner,)):
1006 self.addDefine('HAVE_' + combiner,1)
/petsc/src/vec/is/sf/impls/basic/
H A Dsfpack.c513 PetscMPIInt combiner; in PetscSFLinkSetUp_Host() local
531 PetscCallMPI(MPIPetsc_Type_get_envelope(unit, &ni, &na, &nc, &nd, &combiner)); in PetscSFLinkSetUp_Host()
532 …link->isbuiltin = (combiner == MPI_COMBINER_NAMED) ? PETSC_TRUE : PETSC_FALSE; /* unit is MPI buil… in PetscSFLinkSetUp_Host()