Commit a884f396 authored by Shucai Xiao's avatar Shucai Xiao
Browse files

add standard shape requirement

parent 4bd1ee7a
...@@ -48,7 +48,7 @@ struct parse_generic_op : op_parser<parse_generic_op> ...@@ -48,7 +48,7 @@ struct parse_generic_op : op_parser<parse_generic_op>
bool needs_contiguous(const std::string& op_name) const bool needs_contiguous(const std::string& op_name) const
{ {
return contains({"gather"}, op_name); return contains({"gather", "scatter"}, op_name);
} }
instruction_ref parse(const op_desc& opd, instruction_ref parse(const op_desc& opd,
......
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