Lines Matching refs:nloc
45 PetscInt k = 6, l = 0, i, Istart, Iend, nloc, bs, test = 1; in main() local
85 PetscCall(VecGetLocalSize(t, &nloc)); in main()
89 PetscCall(VecSetSizes(v, k * nloc, k * n)); in main()
99 …PetscCall(MatCreateDenseCUDA(PetscObjectComm((PetscObject)v), nloc, PETSC_DECIDE, n, k - l, vv, &B… in main()
101 …PetscCall(MatDenseCUDAPlaceArray(B, vv + l * nloc)); … in main()
105 …PetscCall(MatCreateDenseCUDA(PetscObjectComm((PetscObject)v), nloc, PETSC_DECIDE, n, k - l, NULL, … in main()
106 PetscCall(MatDenseCUDAPlaceArray(B, vv + l * nloc)); /* set the actual pointer */ in main()
110 …ll(MatCreateDenseCUDA(PetscObjectComm((PetscObject)v), nloc, PETSC_DECIDE, n, k - l, vv + l * nloc… in main()
120 PetscCall(MatCreateShell(PetscObjectComm((PetscObject)v), nloc, nloc, n, n, A, &S)); in main()
129 …PetscCall(MatCreateDenseCUDA(PetscObjectComm((PetscObject)v), nloc, PETSC_DECIDE, n, k - l, NULL, … in main()
154 PetscCheck(vv == aa - l * nloc, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Wrong array"); in main()