[petsc-users] PetscLogFlop for a sqrt()

Jed Brown jed at jedbrown.org
Tue Apr 21 11:16:05 CDT 2015


Matthew Knepley <knepley at gmail.com> writes:
> Flop is Floating Point Operation. The index calculation is an Integer
> Operation. I agree that we could probably start counting
> those as well since in some sorts of applications its important, but right
> now we don't.

Index calculations often satisfy recurrences that the compiler folds
into pointer increments and the like.  Also, some architectures, like
PowerPC, have floating point instructions that include mutating index
operations in the true spirit of RISC. ;-)
-------------- 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/2ec3256d/attachment.pgp>


More information about the petsc-users mailing list