Skip to content

[XLA:GPU] Port VMM allocator reservation aliases to records#44225

Draft
shawnwang18 wants to merge 1 commit into
openxla:pr4_vmm_allocator_record_allocationsfrom
shawnwang18:pr4_vmm_allocator_record_mappings
Draft

[XLA:GPU] Port VMM allocator reservation aliases to records#44225
shawnwang18 wants to merge 1 commit into
openxla:pr4_vmm_allocator_record_allocationsfrom
shawnwang18:pr4_vmm_allocator_record_mappings

Conversation

@shawnwang18

Copy link
Copy Markdown
Contributor

📝 Summary of Changes
Ports reservation-address alias bookkeeping to AllocationRecord. Map(), UnMap(), stale reservation alias completion, pending-drain helpers, and active/stale reservation indexes now use records, removing the old ReservationMapping maps.

🎯 Justification
This completes the VMM allocator bookkeeping migration while keeping stale mapping reuse as a separate downstream behavioral change.

🚀 Kind of Contribution
♻️ Cleanup

📊 Benchmark (for Performance Improvements)
N/A.

🧪 Unit Tests:
Not run locally. Intended validation: bazel build //xla/stream_executor:device_address_vmm_allocator //xla/stream_executor/cuda:cuda_device_address_vmm_allocator and bazel test //xla/stream_executor/cuda:cuda_device_address_vmm_allocator_test.

🧪 Execution Tests:
Not run locally.

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.

1 participant