Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
c8dc5f7b
Commit
c8dc5f7b
authored
Jan 31, 2022
by
Shucai Xiao
Browse files
additional refinement for gemm flops
parent
779e6525
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
src/program.cpp
src/program.cpp
+7
-3
No files found.
src/program.cpp
View file @
c8dc5f7b
...
...
@@ -643,7 +643,7 @@ void program::perf_report(std::ostream& os,
return
;
});
int
print_ins_len
=
max_ins_len
+
4
;
int
print_ins_len
=
max_ins_len
+
2
;
std
::
string
str
=
"Instructions"
;
os
<<
str
;
print_space
(
os
,
print_ins_len
-
str
.
length
());
...
...
@@ -695,6 +695,10 @@ void program::perf_report(std::ostream& os,
{
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
;
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment