We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9d89106 + 9ccbdf0 commit cccee45Copy full SHA for cccee45
src/ucp/core/ucp_mm.h
@@ -240,16 +240,6 @@ ucp_rkey_packed_mem_type(const void *rkey_buffer)
240
return (ucs_memory_type_t)(*(uint8_t *)((const ucp_md_map_t*)rkey_buffer + 1));
241
}
242
243
-static UCS_F_ALWAYS_INLINE uct_mem_h
244
-ucp_memh_map2uct(const uct_mem_h *uct, ucp_md_map_t md_map, ucp_md_index_t md_idx)
245
-{
246
- if (!(md_map & UCS_BIT(md_idx))) {
247
- return UCT_MEM_HANDLE_NULL;
248
- }
249
-
250
- return uct[ucs_bitmap2idx(md_map, md_idx)];
251
-}
252
253
static UCS_F_ALWAYS_INLINE void *ucp_memh_address(const ucp_mem_h memh)
254
{
255
return (void*)memh->super.super.start;
0 commit comments