Repository navigation
Commit 462ad09
perf(triangles): raise MAX_CONTAINING_SIZE 15 -> 20 (point-source CPU phase 4c)
The JAX PointSolver keeps at most MAX_CONTAINING_SIZE containing triangles
per refinement step and truncates the rest silently. On 200 prior draws the
uncapped step-0 maximum was 17 (prior draw 12), so 15 was truncating. 20
clears it with margin; measured on RAL 8490H (job 358976) at +6.2 % scalar
median, compile +7.0 %, no image-set, position or log L change on any draw
and the fiducial log L bit-identical.
New test: a 16- and 17-sheet fold (the static lattice traced through z**k)
keeps every containing triangle under jit at the default, pads to (20,),
and the old cap of 15 passed explicitly drops some. Red at 15.
Refs #583
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent e281abf commit 462ad09
2 files changed
Lines changed: 59 additions & 1 deletion
File tree
- autoarray/structures/triangles
- test_autoarray/structures/triangles
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
586 | 586 | | |
587 | 587 | | |
588 | 588 | | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
0 commit comments