Commit 56b65698 authored by Shucai Xiao's avatar Shucai Xiao
Browse files

clang format

parent 4d6264b0
......@@ -64,10 +64,10 @@ struct quant_dot
auto m = a.lens()[dim_0];
auto n = b.lens()[dim_1];
auto k = a.lens()[dim_1];
if ((m % 4) != 0 or (n % 4) != 0 or (k % 4) != 0)
if((m % 4) != 0 or (n % 4) != 0 or (k % 4) != 0)
{
MIGRAPHX_THROW("QUANT_DOT: size of A {" + to_string_range(a.lens()) + "} and B {" +
to_string_range(b.lens()) + "} must be multiple of 4 for int8 type");
to_string_range(b.lens()) + "} must be multiple of 4 for int8 type");
}
auto out_lens = a.lens();
......
......@@ -174,8 +174,8 @@ shape miopen_quant_gemm::compute_shape(const std::vector<shape>& inputs) const
}
argument miopen_quant_gemm::compute(context& ctx,
const shape& output_shape,
const std::vector<argument>& args) const
const shape& output_shape,
const std::vector<argument>& args) const
{
bool is_3inputs = (args.size() == 4);
float beta = 0.0f;
......
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