Add cudf table packing utilities with memory type support#843
Draft
nirandaperera wants to merge 5 commits intorapidsai:mainfrom
Draft
Add cudf table packing utilities with memory type support#843nirandaperera wants to merge 5 commits intorapidsai:mainfrom
nirandaperera wants to merge 5 commits intorapidsai:mainfrom
Conversation
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
Signed-off-by: niranda perera <niranda.perera@gmail.com>
7dc13db to
bdf915a
Compare
Signed-off-by: niranda perera <niranda.perera@gmail.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Introduces
pack.hppandpack.cppwith utilities for packing cudf tables into contiguous buffers with explicit memory type control. This enables packing directly to device, pinned host, or host memory using the rapidsmpf memory reservation system.Depends on #840
Changes
New files:
cpp/include/rapidsmpf/integrations/cudf/pack.hppcpp/src/integrations/cudf/pack.cppcpp/tests/test_cudf_pack.cppAPI:
detail::pack<MemoryType>()pack()chunked_pack()cudf::chunked_packwith a bounce buffer for memory-efficient packing to hostRefactored:
TableChunk::copy()now usesdetail::pack<>for host memory destinations