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

clang format

parent 03afa098
...@@ -92,12 +92,12 @@ argument miopen_quant_gemm::compute(context& ctx, ...@@ -92,12 +92,12 @@ argument miopen_quant_gemm::compute(context& ctx,
if(!transb) if(!transb)
{ {
// use the algorithm to pack A // use the algorithm to pack A
if (pack_1.empty()) if(pack_1.empty())
{ {
std::cout << "allocate pack_1" << std::endl; std::cout << "allocate pack_1" << std::endl;
pack_1 = allocate_gpu(args.at(1).get_shape()); pack_1 = allocate_gpu(args.at(1).get_shape());
} }
//assert(!pack_1.empty()); // assert(!pack_1.empty());
device::pack_a(ctx.get_stream().get(), pack_1, args[1]); device::pack_a(ctx.get_stream().get(), pack_1, args[1]);
auto pb = from_gpu(pack_1); auto pb = from_gpu(pack_1);
std::cout << "pb = " << pb << std::endl; std::cout << "pb = " << pb << std::endl;
...@@ -107,7 +107,7 @@ argument miopen_quant_gemm::compute(context& ctx, ...@@ -107,7 +107,7 @@ argument miopen_quant_gemm::compute(context& ctx,
// comment of the API // comment of the API
if(transa) if(transa)
{ {
if (pack_0.empty()) if(pack_0.empty())
{ {
std::cout << "allocate pack_0" << std::endl; std::cout << "allocate pack_0" << std::endl;
pack_0 = allocate_gpu(args.at(0).get_shape()); pack_0 = allocate_gpu(args.at(0).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