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
9ff87ee1
Commit
9ff87ee1
authored
May 05, 2022
by
Paul
Browse files
Add namespace
parent
bf6cf5b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/targets/gpu/fuse_mlir.cpp
src/targets/gpu/fuse_mlir.cpp
+2
-0
No files found.
src/targets/gpu/fuse_mlir.cpp
View file @
9ff87ee1
...
@@ -11,6 +11,7 @@ struct module;
...
@@ -11,6 +11,7 @@ struct module;
namespace
gpu
{
namespace
gpu
{
namespace
{
struct
find_conv_pointwise
struct
find_conv_pointwise
{
{
// Find a convolution followed by a pointwise operation.
// Find a convolution followed by a pointwise operation.
...
@@ -66,6 +67,7 @@ struct find_conv_pointwise
...
@@ -66,6 +67,7 @@ struct find_conv_pointwise
m
.
replace_instruction
(
ins
,
mlir
);
m
.
replace_instruction
(
ins
,
mlir
);
}
}
};
};
}
void
fuse_mlir
::
apply
(
module
&
m
)
const
{
match
::
find_matches
(
m
,
find_conv_pointwise
{});
}
void
fuse_mlir
::
apply
(
module
&
m
)
const
{
match
::
find_matches
(
m
,
find_conv_pointwise
{});
}
...
...
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