-
Notifications
You must be signed in to change notification settings - Fork 973
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
src: cpu: aarch64: re-enable fp16 post-ops for aarch64
Perform the eltwise post-ops in fp32 instead of fp16 by casting up (to fp32) before executing the eltwise op and then casting back down (to fp16) after the operation completes. With this change, all fp16 benchdnn tests pass on aarch64.
- Loading branch information
Showing
2 changed files
with
43 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters