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
efa8d9f4
Commit
efa8d9f4
authored
Apr 03, 2019
by
Shucai Xiao
Browse files
clang format.
parent
6b26286c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
src/include/migraphx/instruction.hpp
src/include/migraphx/instruction.hpp
+4
-2
src/instruction.cpp
src/instruction.cpp
+1
-1
No files found.
src/include/migraphx/instruction.hpp
View file @
efa8d9f4
...
@@ -68,7 +68,9 @@ struct instruction
...
@@ -68,7 +68,9 @@ struct instruction
static
void
backreference
(
instruction_ref
ref
);
static
void
backreference
(
instruction_ref
ref
);
static
void
replace_argument
(
instruction_ref
ins
,
instruction_ref
old
,
instruction_ref
new_ins
,
static
void
replace_argument
(
instruction_ref
ins
,
instruction_ref
old
,
instruction_ref
new_ins
,
bool
recompute_shape
=
true
);
bool
recompute_shape
=
true
);
static
void
static
void
...
...
src/instruction.cpp
View file @
efa8d9f4
...
@@ -138,7 +138,7 @@ void instruction::replace_argument(instruction_ref ins,
...
@@ -138,7 +138,7 @@ void instruction::replace_argument(instruction_ref ins,
{
{
ins
->
replace_argument
(
old
,
new_ins
);
ins
->
replace_argument
(
old
,
new_ins
);
backreference
(
ins
);
backreference
(
ins
);
if
(
recompute_shape
)
if
(
recompute_shape
)
ins
->
recompute_shape
();
ins
->
recompute_shape
();
}
}
...
...
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