You can do that with command line options -mat_type aijcusparse -vec_type
cuda

On Sun, Oct 17, 2021, 5:32 PM Swarnava Ghosh <[email protected]> wrote:

> Dear Petsc team,
>
> I had a query regarding using CUDA to accelerate a matrix vector product.
> 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?
>
> Sincerely,
> SG
>

Reply via email to