Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
49acfcd7
Commit
49acfcd7
authored
Oct 08, 2018
by
Paul
Browse files
Tidy fixes
parent
980fc710
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/targets/gpu/fuse_ops.cpp
src/targets/gpu/fuse_ops.cpp
+4
-4
No files found.
src/targets/gpu/fuse_ops.cpp
View file @
49acfcd7
...
@@ -176,7 +176,7 @@ struct miopen_conv_bias
...
@@ -176,7 +176,7 @@ struct miopen_conv_bias
fusion
::
op_t
conv
;
fusion
::
op_t
conv
;
fusion
::
op_t
bias
;
fusion
::
op_t
bias
;
miopen_conv_bias
(
op
::
convolution
c
,
shape
input
,
shape
weights
,
shape
b
)
:
op
(
c
),
f
(
input
)
miopen_conv_bias
(
op
::
convolution
c
,
const
shape
&
input
,
const
shape
&
weights
,
const
shape
&
b
)
:
op
(
c
),
f
(
input
)
{
{
conv
=
f
.
create_conv
(
op
,
weights
);
conv
=
f
.
create_conv
(
op
,
weights
);
bias
=
f
.
create_bias
(
b
);
bias
=
f
.
create_bias
(
b
);
...
@@ -213,7 +213,7 @@ struct miopen_conv_bias_relu
...
@@ -213,7 +213,7 @@ struct miopen_conv_bias_relu
fusion
::
op_t
bias
;
fusion
::
op_t
bias
;
fusion
::
op_t
relu
;
fusion
::
op_t
relu
;
miopen_conv_bias_relu
(
op
::
convolution
c
,
shape
input
,
shape
weights
,
shape
b
)
:
op
(
c
),
f
(
input
)
miopen_conv_bias_relu
(
op
::
convolution
c
,
const
shape
&
input
,
const
shape
&
weights
,
const
shape
&
b
)
:
op
(
c
),
f
(
input
)
{
{
conv
=
f
.
create_conv
(
op
,
weights
);
conv
=
f
.
create_conv
(
op
,
weights
);
bias
=
f
.
create_bias
(
b
);
bias
=
f
.
create_bias
(
b
);
...
@@ -281,7 +281,7 @@ struct match_conv_bias
...
@@ -281,7 +281,7 @@ struct match_conv_bias
void
apply
(
program
&
p
,
match
::
matcher_result
r
)
const
void
apply
(
program
&
p
,
match
::
matcher_result
r
)
const
{
{
apply_conv_bias
<
miopen_conv_bias
>
(
*
ctx
,
p
,
r
);
apply_conv_bias
<
miopen_conv_bias
>
(
*
ctx
,
p
,
std
::
move
(
r
)
);
}
}
};
};
...
@@ -292,7 +292,7 @@ struct match_conv_bias_relu
...
@@ -292,7 +292,7 @@ struct match_conv_bias_relu
void
apply
(
program
&
p
,
match
::
matcher_result
r
)
const
void
apply
(
program
&
p
,
match
::
matcher_result
r
)
const
{
{
apply_conv_bias
<
miopen_conv_bias_relu
>
(
*
ctx
,
p
,
r
);
apply_conv_bias
<
miopen_conv_bias_relu
>
(
*
ctx
,
p
,
std
::
move
(
r
)
);
}
}
};
};
...
...
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