Skip to content

Use memcpy instead of union for BF16-FP32 conversion

Viet-Hoa Do requested to merge viet/ub into main
  • 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

Merge request reports

Loading