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.63% 60.78% +0.15%
==========================================
Files 73 73
Lines 20219 20182 -37
Branches 2937 2932 -5
==========================================
+ Hits 12259 12267 +8
+ Misses 5972 5929 -43
+ Partials 1988 1986 -2 ☔ 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