About counting flops for matrix multiplication

How can I count flops for matrix multiplication? Should I use timing function or others?
Thank you!

 채택된 답변

the cyclist
the cyclist 2016년 3월 11일

1 개 추천

This function from the File Exchange claims to do this. (I've never used it, so I cannot vouch for it.)

댓글 수: 1

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개)

카테고리

질문:

2016년 3월 11일

댓글:

2016년 3월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by