Home
last modified time | relevance | path

Searched refs:xnext (Results 1 – 2 of 2) sorted by relevance

/petsc/src/vec/vec/impls/seq/
H A Ddvec2.c706 const PetscScalar *xfirst, *xnext, *xarray; in VecMAXPY_Seq_GEMV() local
725 PetscCall(VecGetArrayRead(xin[j], &xnext)); in VecMAXPY_Seq_GEMV()
727 lda = xnext - xarray; in VecMAXPY_Seq_GEMV()
729 } else if (lda * (j - i) != xnext - xarray) { // not in the same stride? if so, stop here in VecMAXPY_Seq_GEMV()
732 PetscCall(VecRestoreArrayRead(xin[j], &xnext)); in VecMAXPY_Seq_GEMV()
/petsc/src/vec/vec/impls/seq/kokkos/
H A Dveckok.kokkos.cxx842 ConstPetscScalarKokkosView xfirst, xnext; in VecMAXPY_SeqKokkos_GEMV() local
860 PetscCall(VecGetKokkosView(xin[j], &xnext)); in VecMAXPY_SeqKokkos_GEMV()
862 lda = xnext.data() - xfirst.data(); in VecMAXPY_SeqKokkos_GEMV()
864 … } else if (lda * (j - i) != xnext.data() - xarray) { // not in the same stride? if so, stop here in VecMAXPY_SeqKokkos_GEMV()
867 PetscCall(VecRestoreKokkosView(xin[j], &xnext)); in VecMAXPY_SeqKokkos_GEMV()