From 86bdfbd0dafe2c167a3917e12acb322ae35a7927 Mon Sep 17 00:00:00 2001 From: Niko1221 Date: Fri, 23 Oct 2026 19:23:13 +0200 Subject: [PATCH] dsv41 iq: HIP keeps the release grids and kernels (no persistent work-item grid there) --- src/dsv41/ds4_iq.cu | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/dsv41/ds4_iq.cu b/src/dsv41/ds4_iq.cu index fd97be24..40a6ff9b 100644 --- a/src/dsv41/ds4_iq.cu +++ b/src/dsv41/ds4_iq.cu @@ -515,8 +515,13 @@ template constexpr int kTabWords = F && Fast::WORDS > // Persistent grids (blocks looping over work items) only for the types with a codebook worth keeping in the block (8 KiB and // more); the others run a block (tile, group) as before - their blocks leave at once when the group is empty. +#if defined(STRATA_USE_HIP) +template +constexpr bool kPersist = false; // (HIP keeps the release grids) +#else template constexpr bool kPersist = kTabWords * 4 >= 8192; +#endif template __device__ __forceinline__ void load_tab_fast(uint32_t* tab) {