Skip to content

Allocating registered buffers #6374

Answered by yosefe
chris1274 asked this question in Q&A
Feb 19, 2021 · 1 comments · 5 replies
Discussion options

You must be logged in to vote

uct_mem_alloc registers the entire buffer. In order to slice it to multiple parts, would need to implement a custom allocator to top of the buffer returned from uct_mem_alloc. The original memh returned from uct_mem_alloc could be used for zero-copy operation on any slice of the buffer.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@chris1274
Comment options

@yosefe
Comment options

@chris1274
Comment options

@yosefe
Comment options

@shamisp
Comment options

Answer selected by shamisp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants