[petsc-users] PetscLogFlop for a sqrt()
Justin Chang
jchang27 at uh.edu
Tue Apr 21 00:59:22 CDT 2015
Hi everyone,
I want to manually count the number of flops that take place within my
user-defined functions. Say I have to calculate the following:
y = sqrt(pow(x[0],2)+pow(x[1],2)+pow(x[2],2));
What should the flop counter be for each call?
Thanks,
--
Justin Chang
PhD Candidate, Civil Engineering - Computational Sciences
University of Houston, Department of Civil and Environmental Engineering
Houston, TX 77004
(512) 963-3262
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150421/e1be7e38/attachment-0001.html>
More information about the petsc-users
mailing list