Speed up device-to-host staging reads (#22023) - #22023
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/22023
Note: Links to docs will display an error until the docs builds have been completed. ✅ You can merge normally! (6 Unrelated Failures)As of commit 05de591 with merge base 90f88b7 ( BROKEN TRUNK - The following jobs failed but were present on the merge base:👉 Rebase onto the `viable/strict` branch to avoid these failures
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@SS-JIA has exported this pull request. If you are a Meta employee, you can view the originating Diff in D116964600. |
This PR needs a
|
Summary: Prefer host-cached memory for device-to-host staging while preserving coherent memory preference for host-to-device staging. Invalidate only bytes consumed by readback, avoiding cache maintenance over padded staging capacity. This fixes slow Mali output copies while retaining Adreno memory selection. Authored with Codex. Differential Revision: D116964600
2378b29 to
05de591
Compare
Summary:
Prefer host-cached memory for device-to-host staging while preserving coherent memory preference for host-to-device staging. Invalidate only bytes consumed by readback, avoiding cache maintenance over padded staging capacity. This fixes slow Mali output copies while retaining Adreno memory selection.
Authored with Codex.
Differential Revision: D116964600