patch_ib Memory Copy Reduction#1531
Conversation
Claude Code ReviewHead SHA: 0072f07 Files changed:
Findings1. Uninitialized
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1531 +/- ##
==========================================
- Coverage 60.80% 60.78% -0.02%
==========================================
Files 73 73
Lines 20199 20182 -17
Branches 2932 2932
==========================================
- Hits 12281 12267 -14
+ Misses 5932 5929 -3
Partials 1986 1986 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
There was one |
|
All of the AI comments were correct this time and have not been merged. |
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