From 006477e60b49babfca96352c7c648f10fff4a053 Mon Sep 17 00:00:00 2001 From: Charlie Fu Date: Thu, 28 Aug 2025 21:52:27 -0500 Subject: [PATCH] [ROCm][Fix] Fix rocm build caused by #23791 (#23847) Signed-off-by: charlifu --- csrc/cache_kernels.cu | 1 - 1 file changed, 1 deletion(-) diff --git a/csrc/cache_kernels.cu b/csrc/cache_kernels.cu index fc82a1fa8ed78..fbb022464ef27 100644 --- a/csrc/cache_kernels.cu +++ b/csrc/cache_kernels.cu @@ -913,7 +913,6 @@ __global__ void cp_gather_cache( const int32_t split_end = min((split + 1) * split_slots, tot_slots); const bool is_active_split = (split_start < tot_slots); - const bool is_last_split = (split_end == tot_slots); if (!is_active_split) return;