patch_ib Memory Copy Reduction#1531
Conversation
Claude Code ReviewHead SHA: 0072f07 Files changed:
Findings1. Uninitialized
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1531 +/- ##
=======================================
Coverage 60.63% 60.63%
=======================================
Files 73 73
Lines 20219 20219
Branches 2937 2937
=======================================
Hits 12259 12259
Misses 5972 5972
Partials 1988 1988 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
There was one |
Description
The patch_ib array was being updated on the CPU. This had the downstream effect of more host-device memory copies that strictly required. This PR modified the code to use the GPU copy of patch_ib everywhere and only copy out during file IO. This should remove memory copies and enable parallelism that was not present before.
Fixes #1453
Type of change