"test/git@developer.sourcefind.cn:gaoqiong/migraphx.git" did not exist on "c7ec2c82ed9642ac75a6d57874820cd7aa09aab2"
Commit 1b8cb243 authored by Shucai Xiao's avatar Shucai Xiao
Browse files

clang format

parent 6ea3abe0
...@@ -16,15 +16,15 @@ struct hip_convert : unary_device<hip_convert, device::convert> ...@@ -16,15 +16,15 @@ struct hip_convert : unary_device<hip_convert, device::convert>
{ {
op::convert op; op::convert op;
hip_convert(const op::convert& oper) : op(oper) { } hip_convert(const op::convert& oper) : op(oper) {}
hip_convert(const op::convert&& oper) : op(std::move(oper)) { } hip_convert(const op::convert&& oper) : op(std::move(oper)) {}
shape compute_shape(std::vector<shape> inputs) const shape compute_shape(std::vector<shape> inputs) const
{ {
inputs.pop_back(); inputs.pop_back();
check_shapes{inputs}.packed(); check_shapes{inputs}.packed();
return op.compute_shape(inputs); return op.compute_shape(inputs);
} }
}; };
} // namespace gpu } // namespace gpu
......
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