What is the formula for computing GFLOPS for GEMM ? I have used following formulas please
give your feedback.
DGEMM and SGEMM = (2MNK) (timeInSec)/ (1024^3) // factor 2 : 1 mult + 1 addition
CGEMM and ZGEMM = (6MNK) (timeInSec)/ (1024^3) // factor 6 : 4 (complex mult) + 2 (complex addition)