Home
last modified time | relevance | path

Searched refs:bind_below (Results 1 – 7 of 7) sorted by relevance

/petsc/src/dm/impls/da/
H A Ddadist.c18 if (dd->Nlocal < da->bind_below) { in DMCreateGlobalVector_DA()
H A Ddalocal.c56 if (dd->nlocal < da->bind_below) { in DMCreateLocalVector_DA()
H A Dfdda.c656 if (dof * nx * ny * nz < da->bind_below) { in DMCreateMatrix_DA()
/petsc/src/mat/utils/
H A Dgcreate.c282 PetscInt bind_below = 0, newbs = -1; in MatSetFromOptions() local
325 …al rows) below which the Mat is bound to the CPU", "MatBindToCPU", bind_below, &bind_below, &flg)); in MatSetFromOptions()
326 if (flg && B->rmap->n < bind_below) PetscCall(MatBindToCPU(B, PETSC_TRUE)); in MatSetFromOptions()
/petsc/src/vec/vec/interface/
H A Dvector.c1439 PetscInt bind_below = 0; in VecSetFromOptions() local
1454 …entries) below which the Vec is bound to the CPU", "VecBindToCPU", bind_below, &bind_below, &flg)); in VecSetFromOptions()
1455 if (flg && vec->map->n < bind_below) PetscCall(VecBindToCPU(vec, PETSC_TRUE)); in VecSetFromOptions()
/petsc/include/petsc/private/
H A Ddmimpl.h244 …PetscInt bind_below; /* Local size threshold (in entries/rows) below which Vec/Mat o… member
/petsc/src/dm/interface/
H A Ddm.c66 v->bind_below = 0; in DMCreate()
905 … below which the Vec is bound to the CPU", "VecBindToCPU", dm->bind_below, &dm->bind_below, &flg)); in DMSetFromOptions()
3372 …(*dmc)->bind_below = dm->bind_below; /* Propagate this from parent DM; otherwise -dm_bind_below wi… in DMCoarsen()