# 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 Keys

- ***-mat_type aijkokkos -*** sets the matrix type to "aijkokkos" during a call to MatSetFromOptions()





## See Also
 `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.html</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](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
