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
3393530b
Commit
3393530b
authored
Apr 25, 2019
by
Shucai Xiao
Browse files
clang format
parent
41f74ac8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/program.cpp
src/program.cpp
+2
-2
test/program_test.cpp
test/program_test.cpp
+2
-2
No files found.
src/program.cpp
View file @
3393530b
...
...
@@ -129,8 +129,8 @@ void program::copy(const program& p)
{
auto
&&
name
=
any_cast
<
builtin
::
param
>
(
ins
->
get_operator
()).
parameter
;
auto
s
=
ins
->
get_shape
();
copy_ins
=
impl
->
instructions
.
insert
(
impl
->
instructions
.
end
(),
{
builtin
::
param
{
name
},
std
::
move
(
s
),
{}});
copy_ins
=
impl
->
instructions
.
insert
(
impl
->
instructions
.
end
(),
{
builtin
::
param
{
name
},
std
::
move
(
s
),
{}});
}
else
if
(
ins
->
name
()
==
"@outline"
)
{
...
...
test/program_test.cpp
View file @
3393530b
...
...
@@ -65,9 +65,9 @@ TEST_CASE(program_copy)
auto
p2
=
create_program
();
p2
.
compile
(
migraphx
::
cpu
::
target
{});
p2
=
p1
;
p2
=
p1
;
p2
.
compile
(
migraphx
::
cpu
::
target
{});
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