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
05676328
Commit
05676328
authored
Jul 09, 2019
by
Paul
Browse files
Fix test
parent
b6f9911f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
test/simplify_algebra_test.cpp
test/simplify_algebra_test.cpp
+3
-3
No files found.
test/simplify_algebra_test.cpp
View file @
05676328
...
...
@@ -94,9 +94,9 @@ TEST_CASE(simplify_add3)
auto
x
=
p2
.
add_parameter
(
"x"
,
{
migraphx
::
shape
::
int32_type
,
{
1
}});
auto
one
=
p2
.
add_literal
(
1
);
auto
two
=
p2
.
add_literal
(
2
);
auto
sum1
=
p2
.
add_instruction
(
migraphx
::
op
::
add
{},
one
,
x
);
auto
sum2
=
p2
.
add_instruction
(
migraphx
::
op
::
add
{},
one
,
two
);
auto
sum3
=
p2
.
add_instruction
(
migraphx
::
op
::
add
{},
sum1
,
sum2
);
auto
sum1
=
p2
.
add_instruction
(
migraphx
::
op
::
add
{},
one
,
two
);
auto
sum2
=
p2
.
add_instruction
(
migraphx
::
op
::
add
{},
one
,
sum1
);
auto
sum3
=
p2
.
add_instruction
(
migraphx
::
op
::
add
{},
x
,
sum2
);
p2
.
add_instruction
(
pass_op
{},
sum3
);
}
EXPECT
(
p1
==
p2
);
...
...
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