:orphan:
# MATAIJKOKKOS
"mpiaijkokkos", a matrix type to be used for CSR sparse matrices with Kokkos A matrix type type using Kokkos-Kernels CrsMatrix type for portability across different device types


## Options Database Key

- ***-mat_type aijkokkos -*** sets the matrix type to `MATAIJKOKKOS`





## See Also
 [](ch_matrices), `Mat`, `MatCreateAIJKokkos()`, `MATSEQAIJKOKKOS`, `MATSEQAIJ`, `MATMPIAIJ`

## Level
beginner

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/mat/impls/aij/mpi/kokkos/mpiaijkok.kokkos.cxx.html#MATAIJKOKKOS">src/mat/impls/aij/mpi/kokkos/mpiaijkok.kokkos.cxx</A>

## Examples
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/mat/tutorials/ex5k.kokkos.cxx.html">src/mat/tutorials/ex5k.kokkos.cxx</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/mat/impls/aij/mpi/kokkos/mpiaijkok.kokkos.cxx)


[Index of all Mat routines](index.md)  
[Table of Contents for all manual pages](/manualpages/index.md)  
[Index of all manual pages](/manualpages/singleindex.md)  
