Commit 390586c5 authored by Paul's avatar Paul
Browse files

Foramt

parent f374143f
...@@ -17,8 +17,8 @@ struct code_object_op ...@@ -17,8 +17,8 @@ struct code_object_op
{ {
value::binary code_object{}; value::binary code_object{};
std::string symbol_name = ""; std::string symbol_name = "";
std::size_t global = 0; std::size_t global = 0;
std::size_t local = 0; std::size_t local = 0;
std::vector<shape> expected_inputs{}; std::vector<shape> expected_inputs{};
shape output{}; shape output{};
std::int64_t output_arg = -1; std::int64_t output_arg = -1;
......
...@@ -23,7 +23,7 @@ struct mlir_compiler : compiler<mlir_compiler> ...@@ -23,7 +23,7 @@ struct mlir_compiler : compiler<mlir_compiler>
compiler_replace insert(code_object_op co) const compiler_replace insert(code_object_op co) const
{ {
return [co=std::move(co)](module& m, instruction_ref ins) { return [co = std::move(co)](module& m, instruction_ref ins) {
auto mlir = insert_mlir(m, ins, co, ins->inputs()); auto mlir = insert_mlir(m, ins, co, ins->inputs());
m.replace_instruction(ins, mlir); m.replace_instruction(ins, mlir);
}; };
......
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