[ROCm][Fix] Fix rocm build caused by #23791 (#23847)

Signed-off-by: charlifu <charlifu@amd.com>
This commit is contained in:
Charlie Fu
2025-08-28 21:52:27 -05:00
committed by GitHub
parent de533ab2a1
commit 006477e60b

View File

@ -913,7 +913,6 @@ __global__ void cp_gather_cache(
const int32_t split_end = min((split + 1) * split_slots, tot_slots); const int32_t split_end = min((split + 1) * split_slots, tot_slots);
const bool is_active_split = (split_start < 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; if (!is_active_split) return;