[petsc-dev] funny GPU timer data

Mark Adams mfadams at lbl.gov
Tue Dec 29 08:32:32 CST 2020


I am seeing this from a GPU kernel.  The % flops is messed up and the flop
rate does not look right:

------------------------------------------------------------------------------------------------------------------------
Event                Count      Time (sec)     Flop
     --- Global ---  --- Stage ----  Total   GPU    - CpuToGpu -   -
GpuToCpu - GPU
                   Max Ratio  Max     Ratio   Max  Ratio  Mess   AvgLen
 Reduct  %T %F %M %L %R  %T %F %M %L %R Mflop/s Mflop/s Count   Size
Count   Size  %F
---------------------------------------------------------------------------------------------------------------------------------------------------------------
Jac-kernel        13068 1.0 1.6106e+01 1.1 6.13e+13 1.0 0.0e+00 0.0e+00
0.0e+00 *10100*  0  0  0  *10100*  0  0  0 *136983459*       0      0
0.00e+00    0 0.00e+00 100

I use this in landau.cu:

 ierr = PetscLogGpuFlops(flops*nip);CHKERRQ(ierr);

Any idea what is going on here?

Thanks,
Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20201229/438bf7aa/attachment-0001.html>


More information about the petsc-dev mailing list