<div dir="ltr">Thank you!</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Junchao Zhang <<a href="mailto:junchao.zhang@gmail.com">junchao.zhang@gmail.com</a>> 于2024年2月5日周一 12:30写道:<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"><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" target="_blank">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>
</blockquote></div>