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
c8192195
Commit
c8192195
authored
Sep 20, 2019
by
Paul
Browse files
Fix test
parent
20b1d690
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 @
c8192195
...
...
@@ -149,9 +149,9 @@ TEST_CASE(simplify_add_broadcast2)
auto
one
=
p
.
add_literal
({
inner
,
{
1
,
1
}});
auto
oneb
=
p
.
add_instruction
(
b
,
one
);
auto
two
=
p
.
add_literal
({
outer
,
{
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
}});
auto
sum1
=
p
.
add_instruction
(
migraphx
::
op
::
add
{},
x
,
oneb
);
auto
sum2
=
p
.
add_instruction
(
migraphx
::
op
::
add
{},
y
,
two
);
auto
sum3
=
p
.
add_instruction
(
migraphx
::
op
::
add
{},
sum
1
,
sum
2
);
auto
sum1
=
p
.
add_instruction
(
migraphx
::
op
::
add
{},
x
,
y
);
auto
sum2
=
p
.
add_instruction
(
migraphx
::
op
::
add
{},
oneb
,
two
);
auto
sum3
=
p
.
add_instruction
(
migraphx
::
op
::
add
{},
sum
2
,
sum
1
);
p
.
add_instruction
(
pass_op
{},
sum3
);
return
p
;
};
...
...
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