Searched refs:xnext (Results 1 – 2 of 2) sorted by relevance
706 const PetscScalar *xfirst, *xnext, *xarray; in VecMAXPY_Seq_GEMV() local725 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()
842 ConstPetscScalarKokkosView xfirst, xnext; in VecMAXPY_SeqKokkos_GEMV() local860 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()