-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MacroCompiler: Support runtime sorting (at granularity DELTA)
Compute the sort order at runtime and directly use it without an extra compilation step: instead of re-ordering the code we generate, we re-order the data the code we generate operate on. Benchmarks on my unplugged laptop: Before: Benchmark Mode Cnt Score Error Units BenchMacro.ackermann_opt_macro thrpt 10 1,026 ± 0,036 ops/s BenchMacro.ackermann_worst_macro thrpt 10 0,773 ± 0,022 ops/s After: BenchMacro.ackermann_opt_macro thrpt 10 2,386 ± 0,128 ops/s BenchMacro.ackermann_worst_macro thrpt 10 2,548 ± 0,144 ops/s This is comparable to results on the lambda backend: BenchMacro.ackermann_opt_lambda thrpt 10 2,556 ± 0,075 ops/s BenchMacro.ackermann_worst_lambda thrpt 10 2,636 ± 0,093 ops/s
- Loading branch information
Showing
5 changed files
with
94 additions
and
4 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
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
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