[petsc-users] Question on using petsc matrix with hip
Runfeng Jin
jsfaraway at gmail.com
Sun Feb 4 22:49:06 CST 2024
Thank you!
Junchao Zhang <junchao.zhang at gmail.com> 于2024年2月5日周一 12:30写道:
>
>
>
> On Sun, Feb 4, 2024 at 9:57 PM Runfeng Jin <jsfaraway at gmail.com> wrote:
>
>> Hi,
>>
>> 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!
>>
> 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).
>
>>
>> Runfeng Jin
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20240205/6ab270ea/attachment.html>
More information about the petsc-users
mailing list