Commit 65de331e authored by Shucai Xiao's avatar Shucai Xiao
Browse files

clang format

parent a22ae993
...@@ -58,7 +58,8 @@ void auto_contiguous::apply(module& p) const ...@@ -58,7 +58,8 @@ void auto_contiguous::apply(module& p) const
continue; continue;
auto ins_alias = ins->get_operator().output_alias({}); auto ins_alias = ins->get_operator().output_alias({});
if(ins_alias == 0 and ins->get_shape().element_space() != ins->inputs().front()->get_shape().element_space()) if(ins_alias == 0 and ins->get_shape().element_space() !=
ins->inputs().front()->get_shape().element_space())
{ {
auto cont_ins = p.insert_instruction(last, make_op("contiguous"), ins); auto cont_ins = p.insert_instruction(last, make_op("contiguous"), ins);
p.replace_instruction(ins, cont_ins); p.replace_instruction(ins, cont_ins);
......
...@@ -227,7 +227,6 @@ struct shape ...@@ -227,7 +227,6 @@ struct shape
private: private:
std::shared_ptr<const shape_impl> impl; std::shared_ptr<const shape_impl> impl;
}; };
void migraphx_to_value(value& v, const shape& s); void migraphx_to_value(value& v, const shape& s);
......
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