Skip to content
This repository has been archived by the owner on Feb 20, 2025. It is now read-only.

Recip round fp32->fp16b if dest in 16bit mode #23

Merged
merged 1 commit into from
Aug 7, 2024
Merged

Conversation

rdjogoTT
Copy link
Contributor

Recip llk just truncates the LSBs when converting from fp32 to fp16b when storing back to DEST. I added a rounding call which improves accuracy.

@rdjogoTT rdjogoTT self-assigned this Jul 18, 2024
@rdjogoTT rdjogoTT force-pushed the rd/recip_fp16b_acc branch from a5057d5 to 1a0243c Compare August 6, 2024 14:26
@rtawfik01 rtawfik01 force-pushed the rd/recip_fp16b_acc branch from e76df6c to f16a78e Compare August 7, 2024 15:00
@rtawfik01 rtawfik01 marked this pull request as ready for review August 7, 2024 15:00
@rtawfik01 rtawfik01 merged commit ed704e1 into main Aug 7, 2024
1 check passed
@rtawfik01 rtawfik01 deleted the rd/recip_fp16b_acc branch August 7, 2024 15:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants