Commit 711356dc authored by Shucai Xiao's avatar Shucai Xiao
Browse files

clang format

parent b5da0228
......@@ -13,9 +13,7 @@ shape hip_convert::compute_shape(std::vector<shape> inputs) const
return op.compute_shape(inputs);
}
argument hip_convert::compute(context& ctx,
const shape&,
const std::vector<argument>& args) const
argument hip_convert::compute(context& ctx, const shape&, const std::vector<argument>& args) const
{
return device::convert(ctx.get_stream().get(), args[1], args[0]);
}
......
......@@ -15,8 +15,7 @@ struct hip_convert
op::convert op;
std::string name() const { return "gpu::convert"; }
shape compute_shape(std::vector<shape> inputs) const;
argument
compute(context& ctx, const shape&, const std::vector<argument>& args) const;
argument compute(context& ctx, const shape&, const std::vector<argument>& args) const;
int output_alias(const std::vector<shape>& shapes) const { return shapes.size() - 1; }
};
......
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