Skip to content

Fixing indirections#296

Open
vidsinghal wants to merge 2321 commits into
mainfrom
fixing_indirections
Open

Fixing indirections#296
vidsinghal wants to merge 2321 commits into
mainfrom
fixing_indirections

Conversation

@vidsinghal

@vidsinghal vidsinghal commented Sep 20, 2025

Copy link
Copy Markdown
Member

Fixing in-directions (copy of ADTs) for SoA

vidsinghal and others added 6 commits February 21, 2026 10:02
- Added wrappingMul helper function using Word32 arithmetic for safe overflow handling in AOS and SOA DBQuery programs
- Updated mixSeed to use Word32 wrapping arithmetic to prevent overflow
- Reduced depth multipliers from 220→20 (factor of 11) and 170→15 (factor of ~11) to reduce intermediate value magnitude
- Applied wrappingMul to critical multiplications: lRows*rRows and childRows*sel
- Imported Data.Word and Data.Int for Word32/Int32 conversions

These changes ensure that the benchmark programs using buildQuery and sumRows no longer overflow when dealing with large intermediate values, particularly at higher depth parameters.

Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants