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

clang format

parent 892d1100
...@@ -25,8 +25,8 @@ argument gather(hipStream_t stream, ...@@ -25,8 +25,8 @@ argument gather(hipStream_t stream,
const auto* in_ptr = device_cast(input.data()); const auto* in_ptr = device_cast(input.data());
if(output_shape.scalar()) if(output_shape.scalar())
{ {
gs_launch(stream, gs_launch(stream, 1)(
1)([=](auto i) { out_ptr[i] = in_ptr[static_cast<int>(indices_ptr[0])]; }); [=](auto i) { out_ptr[i] = in_ptr[static_cast<int>(indices_ptr[0])]; });
} }
else else
{ {
......
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