[petsc-dev] GPU counters

Mark Adams mfadams at lbl.gov
Wed Nov 6 11:32:27 CST 2019


Yea, that is what I thought.
Oh, I am probably seeing the flops from KSP. The PC is a monolithic code
(AMGx).

On Wed, Nov 6, 2019 at 11:18 AM Zhang, Junchao <jczhang at mcs.anl.gov> wrote:

> No. For each vector/matrix operation, PETSc can get its flop count based
> on number of nonzeros, for example.
>
> --Junchao Zhang
>
>
> On Wed, Nov 6, 2019 at 8:44 AM Mark Adams via petsc-dev <
> petsc-dev at mcs.anl.gov> wrote:
>
>> I am puzzled.
>>
>> I am running AMGx now, and I am getting flop counts/rates. How does that
>> happen? Does PETSc use hardware counters to get flops?
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20191106/dd278850/attachment.html>


More information about the petsc-dev mailing list