Commit c8dc5f7b authored by Shucai Xiao's avatar Shucai Xiao
Browse files

additional refinement for gemm flops

parent 779e6525
...@@ -643,7 +643,7 @@ void program::perf_report(std::ostream& os, ...@@ -643,7 +643,7 @@ void program::perf_report(std::ostream& os,
return; return;
}); });
int print_ins_len = max_ins_len + 4; int print_ins_len = max_ins_len + 2;
std::string str = "Instructions"; std::string str = "Instructions";
os << str; os << str;
print_space(os, print_ins_len - str.length()); print_space(os, print_ins_len - str.length());
...@@ -695,6 +695,10 @@ void program::perf_report(std::ostream& os, ...@@ -695,6 +695,10 @@ void program::perf_report(std::ostream& os,
{ {
flps.erase(flps.begin() + floc + 4, flps.end()); flps.erase(flps.begin() + floc + 4, flps.end());
} }
flps.append(1, ' ');
flps.append("(k = ");
flps.append(std::to_string(inss.front().lens().back()));
flps.append(")");
} }
os << tms << pers << flps << std::endl; os << tms << pers << flps << std::endl;
}); });
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment