From cc0f42fee2da14404c6eccd37b19f6434a38a171 Mon Sep 17 00:00:00 2001 From: Chris Millette Date: Fri, 30 Jan 2026 16:23:00 -0500 Subject: [PATCH] Workaround adjustment to scalar_type::type. Skips invalid case for pk_i4_t, but should be addressed in the future. --- include/ck/utility/dynamic_buffer.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/ck/utility/dynamic_buffer.hpp b/include/ck/utility/dynamic_buffer.hpp index 4e477eed26..00fab270e8 100644 --- a/include/ck/utility/dynamic_buffer.hpp +++ b/include/ck/utility/dynamic_buffer.hpp @@ -260,7 +260,10 @@ struct DynamicBuffer x, p_data_, i, is_valid_element, element_space_size_ / PackedSize); } else if constexpr(GetAddressSpace() == AddressSpaceEnum::Lds && - is_same>::type, int8_t>::value && + is_same_v>::type, int8_t> && + !is_same_v, + pk_i4_t> && // TODO: This needs to be fixed for pk_i4_t which + // cannot be handled below, but is stored as int8_t workaround_int8_ds_write_issue) { if(is_valid_element)