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
8d6f2370
Commit
8d6f2370
authored
Feb 18, 2022
by
Shucai Xiao
Browse files
clang format
parent
7f915595
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
src/program.cpp
src/program.cpp
+9
-8
No files found.
src/program.cpp
View file @
8d6f2370
...
@@ -768,9 +768,10 @@ static void print_ins_perf(std::ostream& os,
...
@@ -768,9 +768,10 @@ static void print_ins_perf(std::ostream& os,
// print throughput for pointwise instruction
// print throughput for pointwise instruction
auto
alias_num
=
ins
->
get_operator
().
output_alias
({});
auto
alias_num
=
ins
->
get_operator
().
output_alias
({});
std
::
string
thrpt
;
std
::
string
thrpt
;
if
(
alias_num
!=
0
)
if
(
alias_num
!=
0
)
{
{
auto
size
=
std
::
accumulate
(
inss
.
begin
(),
inss
.
end
(),
std
::
size_t
{
0
},
[
&
](
auto
init
,
auto
s
)
{
auto
size
=
std
::
accumulate
(
inss
.
begin
(),
inss
.
end
(),
std
::
size_t
{
0
},
[
&
](
auto
init
,
auto
s
)
{
return
init
+
s
.
bytes
();
return
init
+
s
.
bytes
();
});
});
...
...
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