:orphan:
# MatSeqAIJHIPSPARSERestoreArrayWrite
restore the write-only access array obtained from `MatSeqAIJHIPSPARSEGetArrayWrite()` 
## Synopsis
```
#include "petscmat.h" 
PetscErrorCode MatSeqAIJHIPSPARSERestoreArrayWrite(Mat A, PetscScalar **a)
```
Not Collective


## Input Parameters

- ***A -*** a `MATSEQAIJHIPSPARSE` matrix
- ***a -*** pointer to the device data





## See Also
 [](ch_matrices), `Mat`, `MatSeqAIJHIPSPARSEGetArrayWrite()`

## Level
developer

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/mat/impls/aij/seq/seqhipsparse/aijhipsparse.hip.cpp#MatSeqAIJHIPSPARSERestoreArrayWrite">src/mat/impls/aij/seq/seqhipsparse/aijhipsparse.hip.cpp</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/mat/impls/aij/seq/seqhipsparse/aijhipsparse.hip.cpp)


[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)  
