UCP/CORE: User memh proto v2
What
User memh proto v2 support.
Why ?
Allow memory handle to be supplied from user in order to prevent multiple registration and improve performance.
When trying to remove explicit casting from uint8_t to ucs_memory_type_t the following error appears:
In file included from ucp/test_ucp_stream.cc:16:0:
/.autodirect/mtrswgwork/shasson/ucx/src/ucp/core/ucp_request.inl: In function ‘ucs_status_t ucp_request_send_buffer_reg(ucp_request_t*, ucp_md_map_t, unsigned int)’:
/.autodirect/mtrswgwork/shasson/ucx/src/ucp/core/ucp_request.inl:522:44: error: invalid conversion from ‘uint8_t {aka unsigned char}’ to ‘ucs_memory_type_t {aka ucs_memory_type}’ [-fpermissive]
uct_flags);
@Artemy-Mellanox can you pls review?
/azp run
Azure Pipelines successfully started running 3 pipeline(s).
@shasson5 pipeline failure seems relevant. https://dev.azure.com/ucfconsort/0b36e3f0-8ab9-4a48-b68b-4b2350e02c88/_apis/build/builds/52919/logs/476
@shasson5 can u pls check the failures on "roce_proto_enable" machines? it seems relevant
/azp run
Azure Pipelines successfully started running 3 pipeline(s).
@shasson5 pls squash