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

remove a cppcheck error.

parent 2d6c550a
......@@ -14,7 +14,7 @@ shape hip_convert::compute_shape(std::vector<shape> inputs) const
}
argument hip_convert::compute(context& ctx,
const shape& output_shape,
const shape&,
const std::vector<argument>& args) const
{
return device::convert(ctx.get_stream().get(), args[1], args[0]);
......
......@@ -16,7 +16,7 @@ struct hip_convert
std::string name() const { return "gpu::convert"; }
shape compute_shape(std::vector<shape> inputs) const;
argument
compute(context& ctx, const shape& output_shape, const std::vector<argument>& args) const;
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