"...resnet50_tensorflow.git" did not exist on "8089a561b8037ce81664e13e6610c1233655e811"
Commit 908ed025 authored by Shucai Xiao's avatar Shucai Xiao
Browse files

clang format

parent 28ab5f76
......@@ -13,7 +13,7 @@ namespace device {
void pack_a(hipStream_t stream, const argument& result, const argument& arg)
{
auto comp_shape = arg.get_shape();
auto comp_shape = arg.get_shape();
auto out_lens = comp_shape.lens();
auto dim_0 = out_lens.size() - 2;
auto dim_1 = out_lens.size() - 1;
......
......@@ -30,7 +30,6 @@ struct miopen_quant_gemm
{
return shapes.size() - 1;
}
};
} // namespace gpu
......
......@@ -177,11 +177,11 @@ struct miopen_apply
void add_quant_dot_op()
{
apply_map.emplace("quant_dot", [=](instruction_ref ins) {
auto&& op = any_cast<op::quant_dot>(ins->get_operator());
auto inputs = ins->inputs();
auto&& op = any_cast<op::quant_dot>(ins->get_operator());
auto inputs = ins->inputs();
auto in_shapes = to_shapes(inputs);
auto arg_a = allocate_gpu(in_shapes[0]);
auto arg_b = allocate_gpu(in_shapes[1]);
auto arg_a = allocate_gpu(in_shapes[0]);
auto arg_b = allocate_gpu(in_shapes[1]);
auto quant_dot = miopen_quant_gemm{op, arg_a, arg_b};
auto output = insert_allocation(ins, ins->get_shape());
......
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