<div dir="auto"><div>You can do that with command line options -mat_type aijcusparse -vec_type cuda<br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Oct 17, 2021, 5:32 PM Swarnava Ghosh <<a href="mailto:swarnava89@gmail.com">swarnava89@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear Petsc team,<div><br></div><div>I had a query regarding using CUDA to accelerate a matrix vector product. </div><div>I have a sequential sparse matrix (MATSEQBAIJ type). I want to port a MatVec call onto GPUs. Is there any code/example I can look at?</div><div><br></div><div>Sincerely,</div><div>SG</div></div>
</blockquote></div></div></div>