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
af86d975
"src/targets/miopen/lowering.cpp" did not exist on "e1b6ce59967e26ab13e2ce0270a210e451093b7f"
Commit
af86d975
authored
Oct 10, 2018
by
Paul
Browse files
Formatting
parent
94ef1ad0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
13 deletions
+9
-13
src/constant_propagate.cpp
src/constant_propagate.cpp
+2
-5
test/constant_propagate_test.cpp
test/constant_propagate_test.cpp
+7
-8
No files found.
src/constant_propagate.cpp
View file @
af86d975
...
...
@@ -23,9 +23,6 @@ struct match_const_add
}
};
void
constant_propagate
::
apply
(
program
&
p
)
const
{
match
::
find_matches
(
p
,
match_const_add
{});
}
void
constant_propagate
::
apply
(
program
&
p
)
const
{
match
::
find_matches
(
p
,
match_const_add
{});
}
}
// namespace migraph
test/constant_propagate_test.cpp
View file @
af86d975
...
...
@@ -29,7 +29,6 @@ void const_add1()
EXPECT
(
p1
==
p2
);
}
void
const_add2
()
{
migraph
::
program
p1
;
...
...
@@ -61,9 +60,9 @@ void const_add3()
EXPECT
(
p1
==
p2
);
}
int
main
()
{
int
main
()
{
const_add1
();
const_add2
();
const_add3
();
}
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