Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
3154645b
Commit
3154645b
authored
May 22, 2019
by
Paul
Browse files
Fix gcc compile error
parent
a1be6418
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
test/eval_test.cpp
test/eval_test.cpp
+2
-1
No files found.
test/eval_test.cpp
View file @
3154645b
...
@@ -481,13 +481,14 @@ TEST_CASE(debug_print_test)
...
@@ -481,13 +481,14 @@ TEST_CASE(debug_print_test)
{
{
migraphx
::
program
p
;
migraphx
::
program
p
;
auto
one
=
p
.
add_literal
(
1
);
auto
one
=
p
.
add_literal
(
1
);
std
::
vector
<
migraphx
::
instruction_ref
>
onev
=
{
one
};
migraphx
::
program
p2
;
migraphx
::
program
p2
;
auto
one2
=
p2
.
add_literal
(
1
);
auto
one2
=
p2
.
add_literal
(
1
);
auto
program_out
=
migraphx
::
trim
(
capture_output
([
&
]
{
p
.
debug_print
();
}));
auto
program_out
=
migraphx
::
trim
(
capture_output
([
&
]
{
p
.
debug_print
();
}));
auto
ins_out
=
migraphx
::
trim
(
capture_output
([
&
]
{
p
.
debug_print
(
one
);
}));
auto
ins_out
=
migraphx
::
trim
(
capture_output
([
&
]
{
p
.
debug_print
(
one
);
}));
auto
inss_out
=
migraphx
::
trim
(
capture_output
([
&
]
{
p
.
debug_print
(
{
one
}
);
}));
auto
inss_out
=
migraphx
::
trim
(
capture_output
([
&
]
{
p
.
debug_print
(
one
v
);
}));
auto
end_out
=
migraphx
::
trim
(
capture_output
([
&
]
{
p
.
debug_print
(
p
.
end
());
}));
auto
end_out
=
migraphx
::
trim
(
capture_output
([
&
]
{
p
.
debug_print
(
p
.
end
());
}));
auto
p2_ins_out
=
migraphx
::
trim
(
capture_output
([
&
]
{
p
.
debug_print
(
one2
);
}));
auto
p2_ins_out
=
migraphx
::
trim
(
capture_output
([
&
]
{
p
.
debug_print
(
one2
);
}));
...
...
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