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

Formatting

parent 9164116a
......@@ -25,8 +25,8 @@ void eliminate_allocation::apply(program& p) const
auto mem = p.add_parameter("memory", shape{shape::int8_type, {n}});
for(auto&& pp : allocs)
{
auto ins = pp.first;
auto s = ins->get_shape();
auto ins = pp.first;
auto s = ins->get_shape();
auto offset = pp.second;
p.replace_instruction(ins, hip_load{s, offset}, mem);
}
......
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