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
9270ebaf
Unverified
Commit
9270ebaf
authored
Nov 30, 2021
by
turneram
Committed by
GitHub
Nov 30, 2021
Browse files
Fix fusable_conv whitespace bug (#1008)
Fix whitespace bug in fusable_conv matcher and add unit test
parent
5dfafd00
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/targets/gpu/fuse_ops.cpp
src/targets/gpu/fuse_ops.cpp
+1
-1
No files found.
src/targets/gpu/fuse_ops.cpp
View file @
9270ebaf
...
@@ -169,7 +169,7 @@ MIGRAPHX_PRED_MATCHER(bias_shape, instruction_ref ins)
...
@@ -169,7 +169,7 @@ MIGRAPHX_PRED_MATCHER(bias_shape, instruction_ref ins)
MIGRAPHX_PRED_MATCHER
(
fusable_conv
,
instruction_ref
ins
)
MIGRAPHX_PRED_MATCHER
(
fusable_conv
,
instruction_ref
ins
)
{
{
const
auto
device_name
=
split_string
(
get_device_name
(),
':'
).
front
();
const
auto
device_name
=
trim
(
split_string
(
get_device_name
(),
':'
).
front
()
)
;
if
(
not
contains
(
get_supported_archs
(),
device_name
))
if
(
not
contains
(
get_supported_archs
(),
device_name
))
return
false
;
return
false
;
if
(
enabled
(
MIGRAPHX_DISABLE_MIOPEN_FUSION
{}))
if
(
enabled
(
MIGRAPHX_DISABLE_MIOPEN_FUSION
{}))
...
...
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