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

Remove truncating version of kai_cast_bf16_f32



* The implementation of kai_cast_bf16_f32 in kai_common.h
  violates the one definition rule (ODR). Depending on the
  archirectural feature enabled by the compiler, the function
  is implemented differently.
* In the kernel library, kai_cast_bf16_f32 is only used by
  microkernels that are compiled with BF16 enabled, therefore
  this change doesn't affect the functionality of the microkernel.
* The example code needs to be compiled with BF16 enabled to match
  with the behavior of the microkernel.

Signed-off-by: Viet-Hoa Do's avatarViet-Hoa Do <viet-hoa.do@arm.com>
parent 8120ad23
Loading
Loading
Loading
Pipeline #25592 passed with stages
in 7 minutes and 14 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