Skip to main content
Ctrl+K
PETSc v3.26.1-554-gc8d5ad6b3782 documentation - Home
  • Overview
  • Install
  • Tutorials
  • User-Guide
  • C/Fortran API
  • petsc4py API
  • FAQ
  • Community
  • Developers
  • Misc.
  • GitLab
  • Overview
  • Install
  • Tutorials
  • User-Guide
  • C/Fortran API
  • petsc4py API
  • FAQ
  • Community
  • Developers
  • Misc.
  • GitLab
  • MATDENSECUDA

MATDENSECUDA#

“densecuda” - A matrix type to be used for dense matrices on GPUs. This matrix type is identical to MATSEQDENSECUDA when constructed with a single process communicator, and MATMPIDENSECUDA otherwise.

Options Database Key#

  • -mat_type densecuda - sets the matrix type to MATDENSECUDA during a call to MatSetFromOptions()

See Also#

Matrices, Mat, MATSEQDENSECUDA, MATMPIDENSECUDA, MATSEQDENSEHIP, MATMPIDENSEHIP, MATDENSE

Level#

beginner

Location#

src/mat/impls/dense/mpi/cupm/cuda/matmpidensecuda.cu

Examples#

src/mat/tests/ex237.c
src/mat/tests/ex257.c
src/mat/tests/ex272.c
src/mat/tests/ex313.c
src/mat/tests/ex318.c
src/mat/tests/ex324.c
src/mat/tests/ex66.c
src/mat/tests/ex69.c
src/mat/tests/ex70.c
src/ksp/ksp/tutorials/ex79.c


Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages

On this page
  • Options Database Key
  • See Also
  • Level
  • Location
  • Examples
Edit on GitLab
Show Source

© Copyright 1991-2026, UChicago Argonne, LLC and the PETSc Development Team.

Created using Sphinx 7.3.7.

Built with the PyData Sphinx Theme 0.15.1.

Last updated on 2026-11-28T03:39:59-0600 (v3.26.1-554-gc8d5ad6b3782).