Skip to content

GPU: copy loose title memory in smaller reusable windows - #39

Closed
devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1795588331-loose-memory
Closed

devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1795588331-loose-memory

Conversation

@devin-ai-integration

Copy link
Copy Markdown
Contributor

Summary

  • Ports upstream #2088: loose title memory is copied in 256 KiB windows instead of 4 MiB windows, reducing unused host-memory copies during world loading.
  • Reuses existing loose windows for ranges fully contained in them, including spanning windows created for boundary-crossing ranges.
  • Searches registered buffers by the longest registered span instead of a fixed 64-entry lookback, so parent heaps remain discoverable past many placed child buffers.
  • Refuses null/stale low addresses and memory that is not committed instead of materializing large zero-filled copies.

Validation

  • cargo fmt --all -- --check
  • cargo run --locked --quiet --package xtask -- policy
  • CARGO_FEATURE_PURE=1 RUSTFLAGS='-D warnings' cargo check --locked -p victory-gpu --all-targets --target x86_64-pc-windows-msvc
  • CARGO_FEATURE_PURE=1 RUSTFLAGS='-D warnings' cargo clippy --locked -p victory-gpu --all-targets --target x86_64-pc-windows-msvc

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

Fechando porque a integração fxceless da #29 alterou a base e tornou este diff conflitante/obsoleto; vou reavaliar/reaplicar o que ainda faltar sobre a nova base.

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