Searched refs:xmtype (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/vec/is/sf/tests/ |
| H A D | ex22.c | 16 PetscMemType xmtype, ymtype, zmtype; in main() local 38 PetscCall(VecGetArrayReadAndMemType(x, &xarray, &xmtype)); in main() 42 …PetscCall(PetscSFFetchAndOpWithMemTypeBegin(vscat, MPIU_SCALAR, ymtype, yarray, xmtype, xarray, zm… in main()
|
| /petsc/src/vec/vec/utils/ |
| H A D | vscat.c | 46 PetscMemType xmtype = PETSC_MEMTYPE_HOST, ymtype = PETSC_MEMTYPE_HOST; in VecScatterBegin_Internal() local 50 PetscCall(VecGetArrayReadAndMemType(x, &sf->vscat.xdata, &xmtype)); in VecScatterBegin_Internal() 71 …PetscCall(PetscSFReduceWithMemTypeBegin(wsf, sf->vscat.unit, xmtype, sf->vscat.xdata, ymtype, sf->… in VecScatterBegin_Internal() 73 …PetscCall(PetscSFBcastWithMemTypeBegin(wsf, sf->vscat.unit, xmtype, sf->vscat.xdata, ymtype, sf->v… in VecScatterBegin_Internal()
|