Skip to content

[features/run] Add function to convert data buffer to a std::vector.#2594

Merged
schweitzpgi merged 2 commits intoNVIDIA:features/runfrom
schweitzpgi:ch-fr-span.to.vec
Feb 7, 2025
Merged

[features/run] Add function to convert data buffer to a std::vector.#2594
schweitzpgi merged 2 commits intoNVIDIA:features/runfrom
schweitzpgi:ch-fr-span.to.vec

Conversation

@schweitzpgi
Copy link
Collaborator

Once the decoder produces a buffer of values, as interpreted from the output log, one can use this function to convert to buffer into a std::vector object. This function transfers the ownership of the data buffer to the vector instead of making another copy of the data.

Description

Once the decoder produces a buffer of values, as interpreted from the
output log, one can use this function to convert to buffer into a
std::vector<T> object. This function transfers the ownership of the
data buffer to the vector instead of making another copy of the data.

Signed-off-by: Eric Schweitz <eschweitz@nvidia.com>
github-actions bot pushed a commit that referenced this pull request Feb 6, 2025
Copy link
Collaborator

@annagrin annagrin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@schweitzpgi schweitzpgi enabled auto-merge (squash) February 7, 2025 01:33
@schweitzpgi schweitzpgi merged commit f4e7329 into NVIDIA:features/run Feb 7, 2025
198 of 203 checks passed
@schweitzpgi schweitzpgi deleted the ch-fr-span.to.vec branch February 7, 2025 01:34
github-actions bot pushed a commit that referenced this pull request Feb 7, 2025
@bettinaheim bettinaheim added the no release notes Don't list this PR in the release notes label Mar 12, 2025
@bettinaheim bettinaheim added this to the release 0.10.0 milestone Mar 12, 2025
annagrin pushed a commit to annagrin/cuda-quantum that referenced this pull request Jun 17, 2025
…VIDIA#2594)

Once the decoder produces a buffer of values, as interpreted from the
output log, one can use this function to convert to buffer into a
std::vector<T> object. This function transfers the ownership of the
data buffer to the vector instead of making another copy of the data.

Signed-off-by: Eric Schweitz <eschweitz@nvidia.com>
Signed-off-by: Anna Gringauze <agringauze@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no release notes Don't list this PR in the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants