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
4ddaf83e
"ts/webui/vscode:/vscode.git/clone" did not exist on "7978c25a3f9ebc94a979ccec47b4fdc46099a5be"
Commit
4ddaf83e
authored
Jun 08, 2022
by
Paul
Browse files
Fix copy-paste
parent
8e832756
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
9 deletions
+1
-9
src/eliminate_contiguous.cpp
src/eliminate_contiguous.cpp
+1
-9
No files found.
src/eliminate_contiguous.cpp
View file @
4ddaf83e
...
@@ -105,15 +105,7 @@ static void remove_contiguous(const std::string& op_name, module& m, F f)
...
@@ -105,15 +105,7 @@ static void remove_contiguous(const std::string& op_name, module& m, F f)
}
}
else
if
(
prev
->
can_eval
())
else
if
(
prev
->
can_eval
())
{
{
replace
(
new_args
,
arg
,
prev
);
const_instructions
.
push_back
(
arg
);
if
(
try_compute_shape
(
ins
,
new_args
,
mod_args
))
{
instruction
::
replace_argument
(
ins
,
arg
,
prev
);
}
else
if
(
prev
->
can_eval
())
{
const_instructions
.
push_back
(
arg
);
}
}
}
}
}
}
}
...
...
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