Skip to content

Conversation

@robik75
Copy link
Member

@robik75 robik75 commented May 29, 2025

What ❔

This PR implements host allocator backed by multiple host allocations.

Why ❔

Single very large pinned allocation might be very hard on the OS or the attempt to allocate might even fail. Using multiple allocations might make it possible to allocate more memory in aggregate.

Is this a breaking change?

  • Yes - the host allocator and prover context API changed
  • No

Checklist

  • PR title corresponds to the body of PR (we generate changelog entries from PRs).
  • Tests for the changes have been added / updated.
  • Documentation comments have been added / updated.
  • Code has been formatted.

@robik75 robik75 self-assigned this May 29, 2025
@robik75 robik75 requested review from EmilLuta and mm-zk May 29, 2025 11:38
@robik75 robik75 merged commit b47acd8 into main May 29, 2025
16 checks passed
@robik75 robik75 deleted the rr/allocators_refactor branch May 29, 2025 11:49
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