Skip to content

Conversation

@veblush
Copy link
Collaborator

@veblush veblush commented Jan 8, 2026

This change refactors the reduce kernel to use scratch buffers allocated from the arena for temporary indices and resolved axes, instead of fixed-size stack arrays. This improves memory management and avoids potential stack overflows.

BUG=472486447

@veblush veblush requested a review from a team as a code owner January 8, 2026 19:24
@veblush veblush requested a review from suleshahid January 8, 2026 19:25
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.

2 participants