← Back to Pull requests

UCP/DEVICE: Add device get operation #12466

Open
unknown opened this pull request with 103 lines diff across 1 files
View on GitHub
unknown unknown commented on Nov 25, 2026 08:18 UTC
Author

What?


Add ucp_device_get, a device-side RMA read, to the UCP device API, with support for the rc_gda and cuda_ipc transports.

Why?


NIXL added nixl::gpu::get to its GPU device API (ai-dynamo/nixl#2688).

How?


  • UCP: ucp_device_get() mirrors ucp_device_put(); the local list is the destination and the remote list is the source.

  • UCT: uct_device_ep_get() dispatches to the transports. D2P and ROCm IPC return UCS_ERR_UNSUPPORTED for now.

  • GDA: posts an RDMA READ through the existing single-WQE path. A sys-scope acquire fence on completion, in both the request check and flush, makes the read data visible to every thread.

  • CUDA IPC: a copy from the mapped remote buffer into the local buffer.

  • Tests: a get case in test_ucp_device_xfer, and ucx_perftest -t ucp_get -a with new CI entries.
  • Diff: 103 lines (+77 / -26) across 1 files Reviewer: rakhmets Review duration: 11555m
    All Vouch review confidence checks passed
    Residual risk 0.16 = Change Risk (0.31) × (1 − Review Confidence (0.47)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.31 · 103 lines diff across 1 files
    0.31
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    46%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    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
    Shallow Review Depth shallow_review_depth
    0.344
    Diff Size diff_size
    0.278
    Real PR Conversation Timeline
    1 comments
    "Review active on #12466"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 46.7% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 30.8% (LOW) · Higher = larger blast radius
    30.8%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 46.7% · Lower = rushed or shallow review
    46.7%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 16.4% · Safe to merge
    16.4%
    Repository