mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-04-20 06:49:15 +00:00
fix identity value of AbsMax (#3058)
* fix identity value of AbsMax - Identity value of AbsMax should be 0 not numeric<T>::lowest() * Update include/ck_tile/core/utility/reduce_operator.hpp resolved comment Co-authored-by: Christopher Millette <63608002+cgmillette@users.noreply.github.com> --------- Co-authored-by: Christopher Millette <63608002+cgmillette@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
4043401db1
commit
35754d2ec8
@@ -96,7 +96,7 @@ struct AbsMax
|
||||
std::is_same_v<T, fp8_t> || std::is_same_v<T, bf8_t>>>
|
||||
CK_TILE_HOST_DEVICE static constexpr T GetIdentityValue()
|
||||
{
|
||||
return numeric<T>::lowest();
|
||||
return numeric<T>::zero();
|
||||
};
|
||||
|
||||
template <typename T,
|
||||
|
||||
Reference in New Issue
Block a user