Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Extend
device_scalar
to optionally use pinned bounce buffer #16947Extend
device_scalar
to optionally use pinned bounce buffer #16947Changes from all commits
e542de1
0216948
b74a4d0
b955404
20633fe
fccd97d
ab18eb9
a272fe7
7c1c918
c0a2e71
db97c3d
80047eb
6cf40b3
7414926
4957e27
5997049
4030a89
243e12e
09b329a
381a49a
7e9eb33
ac13130
a052495
d584fcc
f6a9266
d14f371
2056834
931265b
e287b89
2468636
483ce19
80dc0e5
3d63126
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Curious why the move ctor required code but this did not?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Default implementations should be fine in both cases. Compiled fine on 12.5 🤷
I suspect it's an 11.8 compiler bug, but really didn't want to dig into it, with a handy workaround available.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bonus feature from having a bounce buffer - we don't need to worry about the
value
lifetime.rmm::device_scalar
prohibits passing an rvalue here, but we don't need to.