Skip to content
Commit 2d05e618 authored by Viet-Hoa Do's avatar Viet-Hoa Do 😅
Browse files

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's avatarViet-Hoa Do <viet-hoa.do@arm.com>

Approved-by: Emil Ohlsson's avatarEmil Ohlsson <emil.ohlsson@arm.com>
parent b27875d9
Loading
Loading
Loading
Pipeline #25397 passed with stages
in 7 minutes and 3 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment