Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BACKPORT]: Ensure that pair is trivially copyable (#1249) #1292

Merged
merged 2 commits into from
Jan 18, 2024

Conversation

miscco
Copy link
Collaborator

@miscco miscco commented Jan 18, 2024

trivially copyable is a requirement for memcpy. We want to ensure that our pair implementation satisfies that whenever possible.

This is especially important for thrust::pair as that is used in rmm extensively.

Fixes #1246

Co-authored-by: Georgy Evtushenko evtushenko.georgy@gmail.com

@miscco miscco requested review from a team as code owners January 18, 2024 08:09
miscco and others added 2 commits January 18, 2024 09:32
…IA#1249)

trivially copyable is a requirement for memcpy. We want to ensure that our pair implementation satisfies that whenever possible.

This is especially important for thrust::pair as that is used in rmm extensively.

Fixes NVIDIA#1246

Co-authored-by: Georgy Evtushenko <evtushenko.georgy@gmail.com>
@miscco miscco added thrust For all items related to Thrust. libcu++ For all items related to libcu++ backport branch/2.3.x For backporting to the 2.3.x release branch bug: functional labels Jan 18, 2024
@jrhemstad jrhemstad enabled auto-merge (squash) January 18, 2024 18:02
@jrhemstad jrhemstad merged commit 1d3279e into NVIDIA:branch/2.3.x Jan 18, 2024
537 checks passed
@miscco miscco removed the backport branch/2.3.x For backporting to the 2.3.x release branch label Jan 18, 2024
@miscco miscco deleted the backport_pair_fix branch January 18, 2024 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug: functional libcu++ For all items related to libcu++ thrust For all items related to Thrust.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants