Clear Filters
Clear Filters

About counting flops for matrix multiplication

3 views (last 30 days)
How can I count flops for matrix multiplication? Should I use timing function or others?
Thank you!

Accepted Answer

the cyclist
the cyclist on 11 Mar 2016
This function from the File Exchange claims to do this. (I've never used it, so I cannot vouch for it.)
  1 Comment
Walter Roberson
Walter Roberson on 11 Mar 2016
Writing that took some dedication!
Note to Bo Wang: You cannot count flops by timing on any modern system. It has been effectively impossible since the first RISC CPU came out, if not earlier. And that was decades ago, the Sun SPARC or earlier. 1981 is sometimes given as the date after which flops became meaningless.

Sign in to comment.

More Answers (0)

Categories

Find more on General Applications in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!