<div dir="ltr"><div dir="ltr"><br><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Feb 4, 2024 at 9:57 PM Runfeng Jin <<a href="mailto:jsfaraway@gmail.com">jsfaraway@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><p>Hi, <br>
</p>
<p> I see in document the mat status in hip is still in development,
but I see some hip interface in MAT. I want to use petsc with
primme(eigenvalue solver) to diagonalize the matrix in AMD GPU. The primme
need user to provide MV (matrix-vector operation in y=AX) in GPU, and I
want to use PETSc to realize it. Can PETSc support this in hip? thank
you!</p></div></blockquote><div>petsc/hip backend supports sparse matrix vector multiplication (via AMD hipsparce). The matrix has to be in the CSR format (i.e., MATAIJ in petsc). </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">
<p><br>
</p>
<p>Runfeng Jin</p></div>
</blockquote></div></div>