[petsc-dev] PETSc GPU example

Fande Kong fdkong.jd at gmail.com
Mon Dec 6 18:02:20 CST 2021


Thanks, Matt

On Mon, Dec 6, 2021 at 4:47 PM Matthew Knepley <knepley at gmail.com> wrote:

> On Mon, Dec 6, 2021 at 6:40 PM Fande Kong <fdkong.jd at gmail.com> wrote:
>
>> Dear PETSc team,
>>
>> I am interested in a careful evaluation of PETSc GPU performance in our
>> INL cluster.
>>
>> Any example in PETSc that can show GPU speedup with solving a nonlinear
>> equation?
>>
>> I talked to Junchao; he suggested that I try SNES/tutorial/ex56. I tried
>> that, but I could not find any speedup using the GPU. I could attach some
>> results of "log_view" later if we would like to see that.
>>
>
> We should note that you will only see speedup in the solver, so that
> problem has to be pretty large. I believe Mark has good results with it.
> The assembly is still all on the CPU. I am working on this over break, and
> hope to have a CEED version of it by the new year.
>

Are both function and matrix assmelies on CPU? Or just the matrix assembly?

OK, I will try to check the solver part

Thanks, again

Fande



>
>   Thanks,
>
>      Matt
>
>
>> Appreciate any instructions/comments about running a simple PETSc GPU
>> example to get a speedup.
>>
>> Thanks,
>>
>> Fande
>>
>
>
> --
> What most experimenters take for granted before they begin their
> experiments is infinitely more interesting than any results to which their
> experiments lead.
> -- Norbert Wiener
>
> https://www.cse.buffalo.edu/~knepley/
> <http://www.cse.buffalo.edu/~knepley/>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20211206/185c757f/attachment.html>


More information about the petsc-dev mailing list