About counting flops for matrix multiplication

3 次查看(过去 30 天)
How can I count flops for matrix multiplication? Should I use timing function or others?
Thank you!

采纳的回答

the cyclist
the cyclist 2016-3-11
This function from the File Exchange claims to do this. (I've never used it, so I cannot vouch for it.)
  1 个评论
Walter Roberson
Walter Roberson 2016-3-11
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.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 General Applications 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by