[petsc-users] PetscLogFlop for a sqrt()
Jed Brown
jed at jedbrown.org
Tue Apr 21 12:55:11 CDT 2015
Justin Chang <jychang48 at gmail.com> writes:
> Last question
>
> I would like to report the efficiency of my code. That is, flops/s over the
> theoretical peak performance (on n-cores). Where the TPP is clock *
> FLOPS/cycle * n. My current machine is a Intel® Core™ i7-4790 CPU @ 3.60GHz
> and I am assuming that the FLOPS/cycle is 4.
This calculation is becoming obsolete because the vector clock rate is
slower than the scalar clock rate. It is probably better to define peak
flops as the best measured performance for tuned DGEMM.
> One of my serial test runs has achieved a FLOPS/s of 2.01e+09, which
> translates to an efficiency of almost 14%. I know these are crude
> measurements but would these manual flop counts be appropriate for this
> kind of measurement? Or would hardware counts from PAPI?
Hardware counters are notoriously inaccurate since they may count
speculative flops instead of useful flops.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150421/dd3ac1e3/attachment.pgp>
More information about the petsc-users
mailing list