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

change the ref op to their corresponding names

parent 4f9a0ce7
...@@ -446,7 +446,7 @@ struct ref_op ...@@ -446,7 +446,7 @@ struct ref_op
{ {
return migraphx::reflect(self.op, f); return migraphx::reflect(self.op, f);
} }
std::string name() const { return "ref::op"; } std::string name() const { return "ref::" + op.name(); }
shape compute_shape(const std::vector<shape>& inputs) const { return op.compute_shape(inputs); } shape compute_shape(const std::vector<shape>& inputs) const { return op.compute_shape(inputs); }
argument compute(context&, const shape& output_shape, const std::vector<argument>& args) const argument compute(context&, const shape& output_shape, const std::vector<argument>& args) const
{ {
......
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