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

clang format

parent ab0b8b80
......@@ -33,7 +33,10 @@ struct miopen_quant_convolution
compute(context& ctx, const shape& output_shape, const std::vector<argument>& args) const;
shape compile(context& ctx, const shape& output_shape, std::vector<shape> inputs);
void finalize(context& ctx, const shape& output_shape, std::vector<shape> inputs);
std::ptrdiff_t output_alias(const std::vector<shape>& shapes) const { return shapes.size() - 1; }
std::ptrdiff_t output_alias(const std::vector<shape>& shapes) const
{
return shapes.size() - 1;
}
private:
shape pack_int8_shape(shape& s);
......
......@@ -14,7 +14,7 @@ struct miopen_quant_gemm
{
op::quant_dot op;
miopen_quant_gemm(op::quant_dot qop) : op(qop) {}
miopen_quant_gemm(op::quant_dot qop) : op(qop) {}
template <class Self, class F>
static auto reflect(Self& self, F f)
......@@ -32,8 +32,8 @@ struct miopen_quant_gemm
}
private:
mutable argument arg_a;
mutable argument arg_b;
mutable argument arg_a;
mutable argument arg_b;
};
} // namespace gpu
......
......@@ -57,8 +57,8 @@ shape miopen_quant_gemm::compute_shape(const std::vector<shape>& inputs) const
std::vector<shape> input_shapes(inputs);
input_shapes.pop_back();
check_shapes{input_shapes}.not_broadcasted();
bool transa = inputs[0].transposed();
bool transb = inputs[1].transposed();
bool transa = inputs[0].transposed();
bool transb = inputs[1].transposed();
if(!transb)
{
......
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