Commit 7f7cbbc0 authored by Shucai Xiao's avatar Shucai Xiao
Browse files

clang format

parent 88351f31
...@@ -39,7 +39,8 @@ argument softmax(hipStream_t stream, ...@@ -39,7 +39,8 @@ argument softmax(hipStream_t stream,
for(std::size_t j = 1; j < n_dims; ++j) for(std::size_t j = 1; j < n_dims; ++j)
{ {
data_idx[axis] = j; data_idx[axis] = j;
batch_max = std::max(to_hip_type(batch_max), to_hip_type(input_ptr[desc_data.linear(data_idx)])); batch_max = std::max(to_hip_type(batch_max),
to_hip_type(input_ptr[desc_data.linear(data_idx)]));
} }
for(std::size_t j = 0; j < n_dims; ++j) for(std::size_t j = 0; j < n_dims; ++j)
......
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