Home
last modified time | relevance | path

Searched refs:iskok (Results 1 – 3 of 3) sorted by relevance

/petsc/src/binding/petsc4py/src/lib-petsc/
H A Dcustom.h178 char *iscuda = NULL, *iship = NULL, *iskok = NULL; in VecGetCurrentMemType() local
183 PetscCall(PetscStrstr(rtype,"kokkos",&iskok)); in VecGetCurrentMemType()
186 else if (iskok) *m = PETSC_MEMTYPE_KOKKOS; in VecGetCurrentMemType()
/petsc/src/mat/impls/h2opus/cuda/
H A Dmath2opus.cu1678 PetscBool isstd, iscuda, iskok; in MatCreateH2OpusFromMat() local
1683 PetscCall(PetscStrcmpAny(vtype, &iskok, VECKOKKOS, VECSEQKOKKOS, VECMPIKOKKOS, "")); in MatCreateH2OpusFromMat()
1684 PetscCheck(isstd || iscuda || iskok, comm, PETSC_ERR_SUP, "Not for type %s", vtype); in MatCreateH2OpusFromMat()
1686 if (iskok && PetscDefined(HAVE_MACRO_KOKKOS_ENABLE_CUDA)) boundtocpu = PETSC_FALSE; in MatCreateH2OpusFromMat()
/petsc/src/mat/impls/dense/seq/
H A Ddense.c3369 PetscBool isstd, iskok, iscuda, iship; in MatDenseCreateColumnVec_Private() local
3379 PetscCall(PetscStrcmpAny(A->defaultvectype, &iskok, VECKOKKOS, VECSEQKOKKOS, VECMPIKOKKOS, "")); in MatDenseCreateColumnVec_Private()
3386 } else if (iskok) { in MatDenseCreateColumnVec_Private()