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
d18d38c4
Commit
d18d38c4
authored
May 10, 2019
by
Shucai Xiao
Browse files
clang format
parent
1898f87c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/targets/gpu/lowering.cpp
src/targets/gpu/lowering.cpp
+4
-4
No files found.
src/targets/gpu/lowering.cpp
View file @
d18d38c4
...
...
@@ -179,13 +179,13 @@ struct miopen_apply
std
::
vector
<
instruction_ref
>
refs
=
ins
->
inputs
();
// add additional arguments if need packing
if
(
refs
.
at
(
0
)
->
get_shape
().
transposed
())
if
(
refs
.
at
(
0
)
->
get_shape
().
transposed
())
{
auto
pack_a
=
insert_allocation
(
refs
.
at
(
0
),
refs
.
at
(
0
)
->
get_shape
());
refs
.
push_back
(
pack_a
);
}
if
(
!
refs
.
at
(
1
)
->
get_shape
().
transposed
())
if
(
!
refs
.
at
(
1
)
->
get_shape
().
transposed
())
{
auto
pack_b
=
insert_allocation
(
refs
.
at
(
1
),
refs
.
at
(
1
)
->
get_shape
());
refs
.
push_back
(
pack_b
);
...
...
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