NVIDIA / NVIDIA/cuvs

[FEA][C++ API] Remove hidden H2D copies in ACE path

Open
#2,403 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request
Dominant language
Cuda
Stars
854
Forks
236
Avg merge
3d 3h
Merged PRs (30d)
62

Description

Hidden H2D copies in ACE path were previously added to preserve / mirror upstream ACE behavior
Need to re-evaluate because this goes against our contract of never hiding long-running memory allocations from user. Instead, we want to give user full explicit control over any long-running memory allocations.
https://github.com/NVIDIA/cuvs/pull/1846#discussion_r3685764576
https://github.com/NVIDIA/cuvs/pull/1846#discussion_r3685935639

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the ACE-path behavior and the two linked discussions on pull request #1846, focusing on why hidden H2D copies were added and the contract they violate. Define the explicit-allocation behavior expected by the C++ API, then verify that the ACE path no longer performs long-running hidden H2D copies and that users retain control over those allocations.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
api, performance
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.