Commit f61c37d0 authored by rocking's avatar rocking
Browse files

Share the VGPR of x and y

parent 491c0631
...@@ -152,14 +152,7 @@ struct GridwiseNormalizationWelfordVariance_mk_to_mk ...@@ -152,14 +152,7 @@ struct GridwiseNormalizationWelfordVariance_mk_to_mk
}, },
Number<ThreadBufferNumber>{}); Number<ThreadBufferNumber>{});
auto y_thread_buf = generate_tuple( auto& y_thread_buf = x_thread_buf;
[&](auto) {
return StaticBuffer<AddressSpaceEnum::Vgpr,
ComputeDataType,
MThreadSliceSize * YDstVectorSize,
true>{};
},
Number<ThreadBufferNumber>{});
StaticBuffer<AddressSpaceEnum::Vgpr, ComputeDataType, MThreadSliceSize, true> StaticBuffer<AddressSpaceEnum::Vgpr, ComputeDataType, MThreadSliceSize, true>
mean_thread_buf; mean_thread_buf;
......
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