[enhancement] add gpu-cpu transfers in cpu backend via table conversions #3839
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.42) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.42 · 337 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.348
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #3839"
general
weight: 0.35
icfaust
Description
A central component in the cpu offloading via the dal interfaces is the conversion of dal tables to daal tables, which occur in a central point in an interop header. Macro-guarded checks are added for a DPC build which checks the data for queues, and if so, offloads them to host for use by the CPU backend. This should enable estimators with device arrays to still run CPU steps. This data transfer may be expensive, and is done every time.
No verification of the impact on incremental algorithms is completed for
partial_trainusage. I would like to address any issues there as a follow-up. (May need a separate and more invasive fix in order to allow for that, if we deem that necessary)---
<!--
PR should start as a draft, then move to ready for review state
after CI is passed and all applicable checkboxes are closed.
This approach ensures that reviewers don't spend extra time asking for regular requirements.
You can remove a checkbox as not applicable only if it doesn't relate to this PR in any way.
For example, a PR with docs update doesn't require checkboxes for performance
while a PR with any change in actual code should list checkboxes and
justify how this code change is expected to affect performance (or justification should be self-evident).
-->
<details>
<summary>Checklist:</summary>
Completeness and readability
Testing
Performance
</details>