From 12e9bcd7e232c88caffa07662277ac8554836da9 Mon Sep 17 00:00:00 2001 From: Yashvardhan Agarwal Date: Tue, 21 Oct 2025 15:42:08 +0300 Subject: [PATCH] fix identity value of AbsMax (#3058) * fix identity value of AbsMax - Identity value of AbsMax should be 0 not numeric::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> [ROCm/composable_kernel commit: 35754d2ec817087a2a7de53729f2a97c7c9f05fa] --- include/ck_tile/core/utility/reduce_operator.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ck_tile/core/utility/reduce_operator.hpp b/include/ck_tile/core/utility/reduce_operator.hpp index f870bd99d6..218606f303 100644 --- a/include/ck_tile/core/utility/reduce_operator.hpp +++ b/include/ck_tile/core/utility/reduce_operator.hpp @@ -96,7 +96,7 @@ struct AbsMax std::is_same_v || std::is_same_v>> CK_TILE_HOST_DEVICE static constexpr T GetIdentityValue() { - return numeric::lowest(); + return numeric::zero(); }; template