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
dd11be6f
Commit
dd11be6f
authored
Oct 06, 2018
by
Paul
Browse files
Formatting
parent
b987e44d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
src/targets/gpu/fuse_ops.cpp
src/targets/gpu/fuse_ops.cpp
+3
-6
No files found.
src/targets/gpu/fuse_ops.cpp
View file @
dd11be6f
...
...
@@ -239,11 +239,11 @@ struct miopen_conv_bias_relu
}
};
template
<
class
...
Ms
>
template
<
class
...
Ms
>
auto
conv_bias
(
Ms
...
ms
)
{
return
match
::
name
(
"gpu::add"
)(
match
::
either_arg
(
0
,
1
)(
bias_shape
().
bind
(
"bias"
),
fusable_conv
().
bind
(
"conv"
)),
ms
...);
match
::
either_arg
(
0
,
1
)(
bias_shape
().
bind
(
"bias"
),
fusable_conv
().
bind
(
"conv"
)),
ms
...);
}
struct
match_conv_bias
...
...
@@ -277,10 +277,7 @@ struct match_conv_bias
struct
match_conv_bias_relu
{
context
*
ctx
=
nullptr
;
auto
matcher
()
const
{
return
match
::
name
(
"gpu::relu"
)(
conv_bias
());
}
auto
matcher
()
const
{
return
match
::
name
(
"gpu::relu"
)(
conv_bias
());
}
void
apply
(
program
&
p
,
match
::
matcher_result
r
)
const
{
...
...
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