Use memcpy instead of union for BF16-FP32 conversion
* Writing to one union member and reading the other union member is considered undefined behavior, therefore we need to avoid it. Signed-off-by:Viet-Hoa Do <viet-hoa.do@arm.com> Approved-by:
Emil Ohlsson <emil.ohlsson@arm.com>
Loading
Please register or sign in to comment