UCP: Proposed API for User defined memory allocator
Member ofirfarjun7 commented 17 minutes ago What Proposed API for User defined memory allocator used by UCX.
Why ? Customer wants to replace our Mpool implementation with his own memory allocation scheme to control the allocation and release of RX Descriptors.
How ? As for the API - Passing 4 functions implemented by the user (init, malloc, free, cleanup - optional) from UCP to ifaces in UCT. Ifaces will use this functions to allocate/release memory instead of using the mpool instance. Functions description can be found in the code ("src/ucs/memory/user_mem_allocator.h"), and more extend description of the API can be found in the UCX Sharepoint under arch documents (user_allocated_memory_buffers.docx).
Commenter does not have sufficient privileges for PR 7995 in repo openucx/ucx