Commit e9576baa authored by rocking's avatar rocking
Browse files

clang format

parent 356a4aef
...@@ -134,14 +134,14 @@ float smoothquant(smoothquant_traits t, smoothquant_args a, const ck_tile::strea ...@@ -134,14 +134,14 @@ float smoothquant(smoothquant_traits t, smoothquant_args a, const ck_tile::strea
{ {
if(t.data_type.compare("fp16") == 0) if(t.data_type.compare("fp16") == 0)
{ {
if (t.smooth_x) if(t.smooth_x)
return smoothquant_dispatch<ck_tile::fp16_t, true>(t, a, s); return smoothquant_dispatch<ck_tile::fp16_t, true>(t, a, s);
else else
return smoothquant_dispatch<ck_tile::fp16_t, false>(t, a, s); return smoothquant_dispatch<ck_tile::fp16_t, false>(t, a, s);
} }
else if(t.data_type.compare("bf16") == 0) else if(t.data_type.compare("bf16") == 0)
{ {
if (t.smooth_x) if(t.smooth_x)
return smoothquant_dispatch<ck_tile::bf16_t, true>(t, a, s); return smoothquant_dispatch<ck_tile::bf16_t, true>(t, a, s);
else else
return smoothquant_dispatch<ck_tile::bf16_t, false>(t, a, s); return smoothquant_dispatch<ck_tile::bf16_t, false>(t, a, s);
......
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