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
65de331e
"src/include/blockwise_2d_tensor_op.hpp" did not exist on "3bd51021ab676dcc17fe0674d6a39411acbfce5a"
Commit
65de331e
authored
Feb 17, 2022
by
Shucai Xiao
Browse files
clang format
parent
a22ae993
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/auto_contiguous.cpp
src/auto_contiguous.cpp
+2
-1
src/include/migraphx/shape.hpp
src/include/migraphx/shape.hpp
+0
-1
No files found.
src/auto_contiguous.cpp
View file @
65de331e
...
...
@@ -58,7 +58,8 @@ void auto_contiguous::apply(module& p) const
continue
;
auto
ins_alias
=
ins
->
get_operator
().
output_alias
({});
if
(
ins_alias
==
0
and
ins
->
get_shape
().
element_space
()
!=
ins
->
inputs
().
front
()
->
get_shape
().
element_space
())
if
(
ins_alias
==
0
and
ins
->
get_shape
().
element_space
()
!=
ins
->
inputs
().
front
()
->
get_shape
().
element_space
())
{
auto
cont_ins
=
p
.
insert_instruction
(
last
,
make_op
(
"contiguous"
),
ins
);
p
.
replace_instruction
(
ins
,
cont_ins
);
...
...
src/include/migraphx/shape.hpp
100755 → 100644
View file @
65de331e
...
...
@@ -227,7 +227,6 @@ struct shape
private:
std
::
shared_ptr
<
const
shape_impl
>
impl
;
};
void
migraphx_to_value
(
value
&
v
,
const
shape
&
s
);
...
...
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