-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TKW] Scalarized local reduction for faster Max (#335)
Max reduction can make use of v_max3_f32 which is much faster than regular v_max_f32. However to enable this we'd need to scalarize the local reduction more S.T LLVM compiler can do this optimization better. (drop latency from 4.5 ms to ~4.3 ms on dispatch146(B0: 2, B1: 20, (M, K2): 1024: K1: 64) Signed-off-by: Stanley Winata <stanley.winata@amd.com>
- Loading branch information
1 parent
91d8f59
commit 142c8a5
Showing
2 changed files
with
91 additions
and
16 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