-
Notifications
You must be signed in to change notification settings - Fork 904
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
Refactor pinned memory vector and ORC+Parquet writers #13206
Merged
rapids-bot
merged 19 commits into
rapidsai:branch-23.06
from
ttnghia:refactor_pinned_allocator
Apr 25, 2023
Merged
Changes from 16 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
01d35ea
Add `pinned_host_vector`
ttnghia e2393ed
Revert "Add `pinned_host_vector`"
ttnghia 7aa1d75
Move `pinned_host_vector` into `pinned_allocator.hpp`
ttnghia ca18ce9
Switch to use `pinned_host_vector`
ttnghia d7070e7
Adopt `pinned_host_vector`
ttnghia 7358c78
Fix bug in type alias
ttnghia a266de6
Fix bug and rename variable
ttnghia 4d43687
Switch to use `SingleWriteMode`
ttnghia f6c6422
Merge branch 'branch-23.06' into refactor_pinned_allocator
ttnghia d33ad7d
Update cpp/src/io/orc/writer_impl.cu
ttnghia 155f99f
Rename variable
ttnghia 4d110d1
Rename `SingleWriteMode` into `single_write_mode`
ttnghia 21c3139
Fix copyright year
ttnghia 2b01e44
Switch to use `host_span`
ttnghia 2230619
Reorganize parameters
ttnghia 9170fef
More span adoption
ttnghia 9cc92dd
Fix docs
ttnghia 4282b94
Reorder parameters again
ttnghia 156463c
Simplify code by changing `device_buffer` into `device_uvector`
ttnghia File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
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.
IIUC, pinned memory is always on the host side thus not sure this renaming is really needed.
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.
IMO the name
*_host_vector
is better expressing its purpose, similar to havingthurst::host_vector
instead of justthrust::vector
.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.
I read the name as host_vector in pinned memory, so the name looks good.