Commit e4711f4
authored
fix(gpu_prover): fix swapped tree cache mode in allocate_only_evaluation, disable setup recomputations (#173)
## What ❔
This PR fixes a bug that caused unnecessary allocations. This PR also
disables setup coset re-computations.
## Why ❔
The bug cause additional unnecessary allocations, because of memory
issues we enabled setup re-computations previously, with this fix we can
disable them again, getting a 5-10 % raw proving performance boost.
## Is this a breaking change?
- [ ] Yes
- [x] No
## Checklist
- [x] PR title corresponds to the body of PR (we generate changelog
entries from PRs).
- [x] Code has been formatted.1 parent 1390243 commit e4711f4
File tree
3 files changed
+5
-3
lines changed- gpu_prover/src
- execution
- prover
3 files changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
| 131 | + | |
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| 127 | + | |
| 128 | + | |
127 | 129 | | |
128 | 130 | | |
129 | 131 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
363 | 363 | | |
364 | 364 | | |
365 | 365 | | |
366 | | - | |
| 366 | + | |
367 | 367 | | |
368 | | - | |
| 368 | + | |
369 | 369 | | |
370 | 370 | | |
371 | 371 | | |
| |||
0 commit comments