Commit 9ff87ee1 authored by Paul's avatar Paul
Browse files

Add namespace

parent bf6cf5b0
...@@ -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{}); }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment