Workaround adjustment to scalar_type<pk_i4_t>::type. Skips invalid case for pk_i4_t, but should be addressed in the future.

This commit is contained in:
Chris Millette
2026-01-30 16:23:00 -05:00
parent f5188305f3
commit cc0f42fee2

View File

@@ -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<typename scalar_type<remove_cvref_t<T>>::type, int8_t>::value &&
is_same_v<typename scalar_type<remove_cvref_t<T>>::type, int8_t> &&
!is_same_v<remove_cvref_t<T>,
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)