Commit 98562925 authored by rocking's avatar rocking
Browse files

clang-format

parent 6df53672
...@@ -144,7 +144,7 @@ struct GridwiseNormalizationWelfordVariance_mk_to_mk ...@@ -144,7 +144,7 @@ struct GridwiseNormalizationWelfordVariance_mk_to_mk
Number<ThreadBufferNumber>{}); Number<ThreadBufferNumber>{});
auto& beta_thread_buf = gamma_thread_buf; auto& beta_thread_buf = gamma_thread_buf;
auto& y_thread_buf = x_thread_buf; auto& y_thread_buf = x_thread_buf;
StaticBuffer<AddressSpaceEnum::Vgpr, ComputeDataType, MThreadSliceSize, true> StaticBuffer<AddressSpaceEnum::Vgpr, ComputeDataType, MThreadSliceSize, true>
mean_thread_buf; mean_thread_buf;
......
...@@ -181,8 +181,8 @@ bool profile_layernorm_impl(int do_verification, ...@@ -181,8 +181,8 @@ bool profile_layernorm_impl(int do_verification,
{ {
y_dev.FromDevice(y.mData.data()); y_dev.FromDevice(y.mData.data());
bool pass = ck::utils::check_err( bool pass =
y.mData, host_y.mData, "Error: Incorrect results", 1e-3, 1e-3); ck::utils::check_err(y.mData, host_y.mData, "Error: Incorrect results", 1e-3, 1e-3);
if(do_log) if(do_log)
{ {
......
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