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
ae6db5af
Commit
ae6db5af
authored
Aug 15, 2023
by
Ted Themistokleous
Browse files
Remove auto contiguous for reshape.
Don't need this anymore
parent
da6f9c3e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
src/auto_contiguous.cpp
src/auto_contiguous.cpp
+0
-7
No files found.
src/auto_contiguous.cpp
View file @
ae6db5af
...
@@ -84,13 +84,6 @@ void auto_contiguous::apply(module& m) const
...
@@ -84,13 +84,6 @@ void auto_contiguous::apply(module& m) const
if
(
ins
->
outputs
().
empty
()
and
ins
!=
last
)
if
(
ins
->
outputs
().
empty
()
and
ins
!=
last
)
continue
;
continue
;
// perform a pass to insert contiguous for every reshape (without reshaper) before
// determining if aliasing can be performed
//if(ins->name() == "reshape" and not is_reshaper_op(std::next(ins)))
//{
// m.insert_instruction(std::next(ins), make_op("contiguous"), ins);
//}
shape
s
=
ins
->
get_shape
();
shape
s
=
ins
->
get_shape
();
if
(
not
s
.
dynamic
()
and
not
s
.
standard
()
and
s
.
elements
()
!=
0
)
if
(
not
s
.
dynamic
()
and
not
s
.
standard
()
and
s
.
elements
()
!=
0
)
{
{
...
...
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