You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The API to create MR, i.e. alloc_local_mr(layout) function, only has the option to allocate new memory in an ad-hoc way (use malloc inside the alloc_local_mr function).
Is it possible that I register an existing memory block as MR. As I want to transfer a large block of memory and don't want it to be copied which may cause performance issue. Many thanks in advance!
The text was updated successfully, but these errors were encountered:
Hi @fishiu . This seems to be a useful feature, and currently we do not provide the corresponding interface. In such a scenario, we cannot guarantee the safety of pre-allocated memory, so we may provide some unsafe interfaces and manage this memory separately.
The API to create MR, i.e. alloc_local_mr(layout) function, only has the option to allocate new memory in an ad-hoc way (use malloc inside the alloc_local_mr function).
Is it possible that I register an existing memory block as MR. As I want to transfer a large block of memory and don't want it to be copied which may cause performance issue. Many thanks in advance!
The text was updated successfully, but these errors were encountered: