Home
last modified time | relevance | path

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

/petsc/src/vec/vec/impls/seq/
H A Ddvec2.c518 const PetscScalar *xarray, *yarray, *yfirst, *ynext; in VecMultiDot_Seq_GEMV() local
539 PetscCall(VecGetArrayRead(yin[j], &ynext)); in VecMultiDot_Seq_GEMV()
541 lda = ynext - yarray; in VecMultiDot_Seq_GEMV()
543 } else if (lda * (j - i) != ynext - yarray) { // not in the same stride? if so, stop here in VecMultiDot_Seq_GEMV()
546 PetscCall(VecRestoreArrayRead(yin[j], &ynext)); in VecMultiDot_Seq_GEMV()
/petsc/src/vec/vec/impls/seq/kokkos/
H A Dveckok.kokkos.cxx533 ConstPetscScalarKokkosView xv, yfirst, ynext; in VecMultiDot_SeqKokkos_GEMV() local
553 PetscCall(VecGetKokkosView(yin[j], &ynext)); in VecMultiDot_SeqKokkos_GEMV()
555 lda = ynext.data() - yarray; // arbitrary ptrdiff could be very large in VecMultiDot_SeqKokkos_GEMV()
557 …} else if (lda * (j - i) != ynext.data() - yarray) { // not in the same stride? if so, stop search… in VecMultiDot_SeqKokkos_GEMV()
560 PetscCall(VecRestoreKokkosView(yin[j], &ynext)); in VecMultiDot_SeqKokkos_GEMV()