Commit 626f8dc1 authored by Shucai Xiao's avatar Shucai Xiao
Browse files

clang format

parent 7e4baf2a
...@@ -188,10 +188,10 @@ argument miopen_gemm::compute(context& ctx, ...@@ -188,10 +188,10 @@ argument miopen_gemm::compute(context& ctx,
output_shape.visit_type([&](auto as) { output_shape.visit_type([&](auto as) {
auto to_pointer = [&](auto&& arg) { return to_rocblas_type(as.from(arg.data())); }; auto to_pointer = [&](auto&& arg) { return to_rocblas_type(as.from(arg.data())); };
hipMemcpyAsync(to_pointer(args[3]), hipMemcpyAsync(to_pointer(args[3]),
to_pointer(args[2]), to_pointer(args[2]),
output_shape.bytes(), output_shape.bytes(),
hipMemcpyDeviceToDevice, hipMemcpyDeviceToDevice,
ctx.get_stream().get()); ctx.get_stream().get());
}); });
output_shape.visit_type([&](auto as) { output_shape.visit_type([&](auto as) {
...@@ -235,7 +235,7 @@ argument miopen_gemm::compute(context& ctx, ...@@ -235,7 +235,7 @@ argument miopen_gemm::compute(context& ctx,
m * n, m * n,
num_matrices); num_matrices);
}); });
//device::add(ctx.get_stream().get(), args[3], args[2], args[3]); // device::add(ctx.get_stream().get(), args[3], args[2], args[3]);
return args[3]; return args[3];
} }
......
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