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
fb6093dd
Commit
fb6093dd
authored
May 02, 2019
by
Paul
Browse files
Make replace shape private
parent
3c6cf1c8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
src/include/migraphx/instruction.hpp
src/include/migraphx/instruction.hpp
+2
-3
No files found.
src/include/migraphx/instruction.hpp
View file @
fb6093dd
...
@@ -24,8 +24,6 @@ struct instruction
...
@@ -24,8 +24,6 @@ struct instruction
instruction
(
literal
l
);
instruction
(
literal
l
);
void
replace
(
const
shape
&
r
);
void
replace
(
const
operation
&
o
);
void
replace
(
const
operation
&
o
);
void
recompute_shape
();
void
recompute_shape
();
...
@@ -92,7 +90,8 @@ struct instruction
...
@@ -92,7 +90,8 @@ struct instruction
// internal
// internal
void
replace_argument
(
instruction_ref
old
,
instruction_ref
new_ins
);
void
replace_argument
(
instruction_ref
old
,
instruction_ref
new_ins
);
private:
void
replace
(
const
shape
&
r
);
operation
op
;
operation
op
;
shape
result
;
shape
result
;
std
::
vector
<
instruction_ref
>
output
;
std
::
vector
<
instruction_ref
>
output
;
...
...
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