Commit 9426aae5 authored by Paul's avatar Paul
Browse files

Format

parent e83dc134
...@@ -951,17 +951,17 @@ struct find_commutative_broadcast ...@@ -951,17 +951,17 @@ struct find_commutative_broadcast
struct find_contiguous struct find_contiguous
{ {
auto matcher() const auto matcher() const { return match::name("gpu::contiguous"); }
{
return match::name("gpu::contiguous");
}
void apply(module& m, const match::matcher_result& r) const void apply(module& m, const match::matcher_result& r) const
{ {
auto ins = r.result; auto ins = r.result;
auto args = ins->inputs(); auto args = ins->inputs();
m.replace_instruction(ins, make_op("gpu::precompile_op", {{"op", to_value(make_op("contiguous"))}}), ins->inputs()); m.replace_instruction(
ins,
make_op("gpu::precompile_op", {{"op", to_value(make_op("contiguous"))}}),
ins->inputs());
} }
}; };
......
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