Re: [petsc-dev] GPU counters

2019-11-06 Thread Mark Adams via petsc-dev
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 wrote: > No. For each vector/matrix operation, PETSc can get its flop count based > on number of nonzeros, for example. > > --Junchao Zhang

Re: [petsc-dev] GPU counters

2019-11-06 Thread Zhang, Junchao via petsc-dev
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 mailto:petsc-dev@mcs.anl.gov>> wrote: I am puzzled. I am running AMGx now, and I am getting flop counts/rates. H

[petsc-dev] GPU counters

2019-11-06 Thread Mark Adams via petsc-dev
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?