From 99f47e8e41b27b1904ee8c0cf8bedc8fbd2b94e5 Mon Sep 17 00:00:00 2001 From: Rostyslav Geyyer Date: Tue, 18 Feb 2025 20:17:48 +0000 Subject: [PATCH] Update conversion --- include/ck/utility/scaled_type_convert.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/ck/utility/scaled_type_convert.hpp b/include/ck/utility/scaled_type_convert.hpp index 188520a5ae..a1c6432bbc 100644 --- a/include/ck/utility/scaled_type_convert.hpp +++ b/include/ck/utility/scaled_type_convert.hpp @@ -401,7 +401,8 @@ inline __host__ __device__ float32_t scaled_type_convert(e8m { f4x32_t f4x32_array; f4x2_t fp4x2[16]; - } value{x}; + } value{}; + value.f4x32_array = x; union { uint32_t bitwise;