Skip to content

GPU: copy title memory in place by default - #134

Merged
devin-ai-integration[bot] merged 2 commits into
mainfrom
devin/1795675952-plain-copy-default
Nov 26, 2026
Merged

devin-ai-integration[bot] merged 2 commits into
mainfrom
devin/1795675952-plain-copy-default

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Summary

frame-time: copies of title memory into host buffers now use the measured in-process copy path by default instead of requiring VICTORY_COPY_PLAIN=1; VICTORY_COPY_PLAIN=0 restores the kernel-copy path.

The existing guarded rep movsb path only handles faults at its own copy instruction, skips small probe reads, and leaves recently faulting 64 KiB source blocks to the kernel for two seconds. The README's prior measurement shows the submit thread's kernel time falling from 44 to 20 ms per frame with the same picture.

Validated with the asset policy check plus Windows-target cargo check and clippy with warnings denied.

Link to Devin session: https://app.devin.ai/sessions/75bbf6b4192940fea34014b13a016bee
Open in Devin Desktop: https://app.devin.ai/desktop/session/75bbf6b4192940fea34014b13a016bee?variant=devin
Requested by: @Personed


🟢 Devin fixed the finding · Follow Devin's work

Devin Review

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

Copy link
Copy Markdown
Contributor Author

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

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

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 1 finding. Devin automatically fixed it.

Fixed by Devin (1)
  • Copy fallback depends on handler registration — Handler registration is now checked; if AddVectoredExceptionHandler fails the copy path disables itself and uses the kernel copy instead of risking an unhandled fault.

View findings in Devin Review · Follow Devin's work

Devin Review

@devin-ai-integration
devin-ai-integration Bot merged commit f4f2b60 into main Nov 26, 2026
5 checks passed
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