Home
last modified time | relevance | path

Searched refs:preallocate (Results 1 – 12 of 12) sorted by relevance

/petsc/src/mat/impls/dense/mpi/cupm/
H A Dmatmpidensecupm.hpp86 … N, PetscScalar *data, Mat *A, PetscDeviceContext dctx = nullptr, bool preallocate = true) noexcept in MatCreateMPIDenseCUPM() argument
89 …all(impl::MatDense_MPI_CUPM<T>::CreateIMPLDenseCUPM(comm, m, n, M, N, data, A, dctx, preallocate)); in MatCreateMPIDenseCUPM()
/petsc/include/petsc/private/
H A Dmatdensecupmimpl.h270 …scInt M, PetscInt N, PetscScalar *data, Mat *A, PetscDeviceContext dctx, bool preallocate) noexcept in CreateIMPLDenseCUPM() argument
279 if (preallocate) { in CreateIMPLDenseCUPM()
/petsc/doc/changes/
H A D33.md32 MAT_NEW_NONZERO_ALLOCATION_ERR, if you intentionally preallocate
H A D315.md125 - Add `MatSetPreallocationCOO()` and `MatSetValuesCOO()` to preallocate and
H A D314.md214 - Update TSTrajectory (type memory) to preallocate a checkpoint pool
/petsc/doc/developers/
H A Dmatrices.md132 The arguments `nz` and `nnz` can be used to preallocate matrix
/petsc/doc/manual/
H A Dmat.md244 where `nz` or `nnz` can be used to preallocate matrix memory, as
264 preallocate the memory needed for the sparse matrix. The user has two
293 Using the array `nnz` to preallocate memory is especially important
341 did not preallocate sufficient space, as indicated by the fact that the
474 Also, the user need not preallocate exactly the correct amount of space;
H A Ddmplex.md72 in the DAG. In order to preallocate correctly, we first provide sizes,
H A Dperformance.md546 will cause PETSc to preallocate the correct amount of space for
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DMat.pyx707 To preallocate the matrix the user can either pass ``nnz`` or ``csr``
737 # preallocate matrix
752 To preallocate the matrix the user can either pass ``nnz`` or ``csr``
781 # preallocate matrix
796 To preallocate the matrix the user can either pass ``nnz`` or ``csr``
825 # preallocate matrix
843 To preallocate the matrix the user can either pass ``nnz`` or ``csr``
872 # preallocate matrix
1144 # preallocate matrix
H A Dpetscmat.pxi818 # preallocate
871 # preallocate
/petsc/src/mat/impls/dense/seq/cupm/
H A Dmatseqdensecupm.hpp185 … n, PetscScalar *data, Mat *A, PetscDeviceContext dctx = nullptr, bool preallocate = true) noexcept in MatCreateSeqDenseCUPM() argument
188 …all(impl::MatDense_Seq_CUPM<T>::CreateIMPLDenseCUPM(comm, m, n, m, n, data, A, dctx, preallocate)); in MatCreateSeqDenseCUPM()