-
Notifications
You must be signed in to change notification settings - Fork 496
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[xla:cpu] Optimize parallel loop runner
Make sure that all scheduled tasks capture <24 bytes to be able to create std::function without extra heap allocation. BEFORE ------------------------------------------------------------------------ Benchmark Time CPU Iterations ------------------------------------------------------------------------ BM_HloModule/dot/process_time 560396 ns 6503078 ns 415 AFTER ------------------------------------------------------------------------ Benchmark Time CPU Iterations ------------------------------------------------------------------------ BM_HloModule/dot/process_time 320843 ns 3224568 ns 858 PiperOrigin-RevId: 708340973
- Loading branch information
1 parent
211ca72
commit afe7a58
Showing
2 changed files
with
52 additions
and
12 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