diff --git a/src/uct/cuda/cuda_copy/cuda_copy_md.c b/src/uct/cuda/cuda_copy/cuda_copy_md.c index 4df77ddf267..702b02119ad 100644 --- a/src/uct/cuda/cuda_copy/cuda_copy_md.c +++ b/src/uct/cuda/cuda_copy/cuda_copy_md.c @@ -832,11 +832,12 @@ static uct_md_ops_t md_ops = { .query = uct_cuda_copy_md_query, .mem_alloc = uct_cuda_copy_mem_alloc, .mem_free = uct_cuda_copy_mem_free, - .mkey_pack = (uct_md_mkey_pack_func_t)ucs_empty_function_return_success, + .mem_advise = (uct_md_mem_advise_func_t)ucs_empty_function_return_unsupported, .mem_reg = uct_cuda_copy_mem_reg, .mem_dereg = uct_cuda_copy_mem_dereg, - .mem_attach = (uct_md_mem_attach_func_t)ucs_empty_function_return_unsupported, .mem_query = uct_cuda_copy_md_mem_query, + .mkey_pack = (uct_md_mkey_pack_func_t)ucs_empty_function_return_success, + .mem_attach = (uct_md_mem_attach_func_t)ucs_empty_function_return_unsupported, .detect_memory_type = uct_cuda_copy_md_detect_memory_type }; diff --git a/src/uct/cuda/cuda_ipc/cuda_ipc_md.c b/src/uct/cuda/cuda_ipc/cuda_ipc_md.c index 86a42f15237..66cf9f8a936 100644 --- a/src/uct/cuda/cuda_ipc/cuda_ipc_md.c +++ b/src/uct/cuda/cuda_ipc/cuda_ipc_md.c @@ -484,9 +484,13 @@ uct_cuda_ipc_md_open(uct_component_t *component, const char *md_name, static uct_md_ops_t md_ops = { .close = uct_cuda_ipc_md_close, .query = uct_cuda_ipc_md_query, - .mkey_pack = uct_cuda_ipc_mkey_pack, + .mem_alloc = (uct_md_mem_alloc_func_t)ucs_empty_function_return_unsupported, + .mem_free = (uct_md_mem_free_func_t)ucs_empty_function_return_unsupported, + .mem_advise = (uct_md_mem_advise_func_t)ucs_empty_function_return_unsupported, .mem_reg = uct_cuda_ipc_mem_reg, .mem_dereg = uct_cuda_ipc_mem_dereg, + .mem_query = (uct_md_mem_query_func_t)ucs_empty_function_return_unsupported, + .mkey_pack = uct_cuda_ipc_mkey_pack, .mem_attach = (uct_md_mem_attach_func_t)ucs_empty_function_return_unsupported, .detect_memory_type = (uct_md_detect_memory_type_func_t)ucs_empty_function_return_unsupported }; diff --git a/src/uct/cuda/gdr_copy/gdr_copy_md.c b/src/uct/cuda/gdr_copy/gdr_copy_md.c index 38cb582dbaa..cdd17f11a0f 100644 --- a/src/uct/cuda/gdr_copy/gdr_copy_md.c +++ b/src/uct/cuda/gdr_copy/gdr_copy_md.c @@ -316,9 +316,13 @@ static void uct_gdr_copy_md_close(uct_md_h uct_md) static uct_md_ops_t uct_gdr_copy_md_ops = { .close = uct_gdr_copy_md_close, .query = uct_gdr_copy_md_query, - .mkey_pack = uct_gdr_copy_mkey_pack, + .mem_alloc = (uct_md_mem_alloc_func_t)ucs_empty_function_return_unsupported, + .mem_free = (uct_md_mem_free_func_t)ucs_empty_function_return_unsupported, + .mem_advise = (uct_md_mem_advise_func_t)ucs_empty_function_return_unsupported, .mem_reg = uct_gdr_copy_mem_reg, .mem_dereg = uct_gdr_copy_mem_dereg, + .mem_query = (uct_md_mem_query_func_t)ucs_empty_function_return_unsupported, + .mkey_pack = uct_gdr_copy_mkey_pack, .mem_attach = (uct_md_mem_attach_func_t)ucs_empty_function_return_unsupported, .detect_memory_type = (uct_md_detect_memory_type_func_t)ucs_empty_function_return_unsupported }; @@ -372,9 +376,14 @@ uct_gdr_copy_mem_rcache_dereg(uct_md_h uct_md, static uct_md_ops_t uct_gdr_copy_md_rcache_ops = { .close = uct_gdr_copy_md_close, .query = uct_gdr_copy_md_query, - .mkey_pack = uct_gdr_copy_mkey_pack, + .mem_alloc = (uct_md_mem_alloc_func_t)ucs_empty_function_return_unsupported, + .mem_free = (uct_md_mem_free_func_t)ucs_empty_function_return_unsupported, + .mem_advise = (uct_md_mem_advise_func_t)ucs_empty_function_return_unsupported, .mem_reg = uct_gdr_copy_mem_rcache_reg, .mem_dereg = uct_gdr_copy_mem_rcache_dereg, + .mem_query = (uct_md_mem_query_func_t)ucs_empty_function_return_unsupported, + .mkey_pack = uct_gdr_copy_mkey_pack, + .mem_attach = (uct_md_mem_attach_func_t)ucs_empty_function_return_unsupported, .detect_memory_type = (uct_md_detect_memory_type_func_t)ucs_empty_function_return_unsupported, }; diff --git a/src/uct/ib/base/ib_md.c b/src/uct/ib/base/ib_md.c index 1b1a5e45a48..b9d1eeb667b 100644 --- a/src/uct/ib/base/ib_md.c +++ b/src/uct/ib/base/ib_md.c @@ -1563,11 +1563,14 @@ static uct_ib_md_ops_t uct_ib_verbs_md_ops = { .super = { .close = uct_ib_md_close, .query = uct_ib_md_query, + .mem_alloc = (uct_md_mem_alloc_func_t)ucs_empty_function_return_unsupported, + .mem_free = (uct_md_mem_free_func_t)ucs_empty_function_return_unsupported, + .mem_advise = uct_ib_mem_advise, .mem_reg = uct_ib_verbs_mem_reg, .mem_dereg = uct_ib_verbs_mem_dereg, - .mem_attach = (uct_md_mem_attach_func_t)ucs_empty_function_return_unsupported, - .mem_advise = uct_ib_mem_advise, + .mem_query = (uct_md_mem_query_func_t)ucs_empty_function_return_unsupported, .mkey_pack = uct_ib_verbs_mkey_pack, + .mem_attach = (uct_md_mem_attach_func_t)ucs_empty_function_return_unsupported, .detect_memory_type = (uct_md_detect_memory_type_func_t)ucs_empty_function_return_unsupported, }, .open = uct_ib_verbs_md_open, diff --git a/src/uct/ib/efa/base/ib_efa_md.c b/src/uct/ib/efa/base/ib_efa_md.c index 2df5945575b..02e673f2df9 100644 --- a/src/uct/ib/efa/base/ib_efa_md.c +++ b/src/uct/ib/efa/base/ib_efa_md.c @@ -92,11 +92,14 @@ static uct_ib_md_ops_t uct_ib_efa_md_ops = { .super = { .close = uct_ib_md_close, .query = uct_ib_md_query, + .mem_alloc = (uct_md_mem_alloc_func_t)ucs_empty_function_return_unsupported, + .mem_free = (uct_md_mem_free_func_t)ucs_empty_function_return_unsupported, + .mem_advise = uct_ib_mem_advise, .mem_reg = uct_ib_verbs_mem_reg, .mem_dereg = uct_ib_verbs_mem_dereg, - .mem_attach =(uct_md_mem_attach_func_t)ucs_empty_function_return_unsupported, - .mem_advise = uct_ib_mem_advise, + .mem_query = (uct_md_mem_query_func_t)ucs_empty_function_return_unsupported, .mkey_pack = uct_ib_verbs_mkey_pack, + .mem_attach =(uct_md_mem_attach_func_t)ucs_empty_function_return_unsupported, .detect_memory_type = (uct_md_detect_memory_type_func_t)ucs_empty_function_return_unsupported, }, .open = uct_ib_efa_md_open, diff --git a/src/uct/ib/mlx5/dv/ib_mlx5dv_md.c b/src/uct/ib/mlx5/dv/ib_mlx5dv_md.c index c8a89cff0c5..3481a9ee6a7 100644 --- a/src/uct/ib/mlx5/dv/ib_mlx5dv_md.c +++ b/src/uct/ib/mlx5/dv/ib_mlx5dv_md.c @@ -3105,11 +3105,12 @@ static uct_ib_md_ops_t uct_ib_mlx5_devx_md_ops = { .query = uct_ib_mlx5_devx_md_query, .mem_alloc = uct_ib_mlx5_devx_device_mem_alloc, .mem_free = uct_ib_mlx5_devx_device_mem_free, + .mem_advise = uct_ib_mem_advise, .mem_reg = uct_ib_mlx5_devx_mem_reg, .mem_dereg = uct_ib_mlx5_devx_mem_dereg, - .mem_attach = uct_ib_mlx5_devx_mem_attach, - .mem_advise = uct_ib_mem_advise, + .mem_query = (uct_md_mem_query_func_t)ucs_empty_function_return_unsupported, .mkey_pack = uct_ib_mlx5_devx_mkey_pack, + .mem_attach = uct_ib_mlx5_devx_mem_attach, .detect_memory_type = (uct_md_detect_memory_type_func_t)ucs_empty_function_return_unsupported, }, .open = uct_ib_mlx5_devx_md_open, @@ -3208,7 +3209,7 @@ static void uct_ib_mlx5dv_check_dc(uct_ib_device_t *dev) static uct_ib_md_ops_t uct_ib_mlx5_md_ops; -static ucs_status_t +static ucs_status_t uct_ib_mlx5dv_check_ddp(struct ibv_context *ctx, uct_ib_mlx5_md_t *md) { #ifdef HAVE_OOO_RECV_WRS @@ -3325,11 +3326,14 @@ static uct_ib_md_ops_t uct_ib_mlx5_md_ops = { .super = { .close = uct_ib_md_close, .query = uct_ib_md_query, + .mem_alloc = (uct_md_mem_alloc_func_t)ucs_empty_function_return_unsupported, + .mem_free = (uct_md_mem_free_func_t)ucs_empty_function_return_unsupported, + .mem_advise = uct_ib_mem_advise, .mem_reg = uct_ib_verbs_mem_reg, .mem_dereg = uct_ib_verbs_mem_dereg, - .mem_attach = (uct_md_mem_attach_func_t)ucs_empty_function_return_unsupported, - .mem_advise = uct_ib_mem_advise, + .mem_query = (uct_md_mem_query_func_t)ucs_empty_function_return_unsupported, .mkey_pack = uct_ib_verbs_mkey_pack, + .mem_attach = (uct_md_mem_attach_func_t)ucs_empty_function_return_unsupported, .detect_memory_type = (uct_md_detect_memory_type_func_t)ucs_empty_function_return_unsupported, }, .open = uct_ib_mlx5dv_md_open, diff --git a/src/uct/ib/mlx5/gga/gga_mlx5.c b/src/uct/ib/mlx5/gga/gga_mlx5.c index 4e5b0bcd896..5129b65e92d 100644 --- a/src/uct/ib/mlx5/gga/gga_mlx5.c +++ b/src/uct/ib/mlx5/gga/gga_mlx5.c @@ -848,11 +848,12 @@ static uct_md_ops_t uct_mlx5_gga_md_ops = { .query = uct_ib_mlx5_gga_md_query, .mem_alloc = uct_ib_mlx5_devx_device_mem_alloc, .mem_free = uct_ib_mlx5_devx_device_mem_free, + .mem_advise = uct_ib_mem_advise, .mem_reg = uct_ib_mlx5_devx_mem_reg, .mem_dereg = uct_ib_mlx5_devx_mem_dereg, - .mem_attach = uct_ib_mlx5_devx_mem_attach, - .mem_advise = uct_ib_mem_advise, + .mem_query = (uct_md_mem_query_func_t)ucs_empty_function_return_unsupported, .mkey_pack = uct_ib_mlx5_gga_mkey_pack, + .mem_attach = uct_ib_mlx5_devx_mem_attach, .detect_memory_type = (uct_md_detect_memory_type_func_t)ucs_empty_function_return_unsupported, }; diff --git a/src/uct/rocm/copy/rocm_copy_md.c b/src/uct/rocm/copy/rocm_copy_md.c index 91588e2cf00..980cb0749ff 100644 --- a/src/uct/rocm/copy/rocm_copy_md.c +++ b/src/uct/rocm/copy/rocm_copy_md.c @@ -282,13 +282,14 @@ static ucs_status_t uct_rocm_copy_mem_free(uct_md_h md, uct_mem_h memh) static uct_md_ops_t md_ops = { .close = uct_rocm_copy_md_close, .query = uct_rocm_copy_md_query, - .mkey_pack = uct_rocm_copy_mkey_pack, .mem_alloc = uct_rocm_copy_mem_alloc, .mem_free = uct_rocm_copy_mem_free, + .mem_advise = (uct_md_mem_advise_func_t)ucs_empty_function_return_unsupported, .mem_reg = uct_rocm_copy_mem_reg, .mem_dereg = uct_rocm_copy_mem_dereg, - .mem_attach = (uct_md_mem_attach_func_t)ucs_empty_function_return_unsupported, .mem_query = uct_rocm_base_mem_query, + .mkey_pack = uct_rocm_copy_mkey_pack, + .mem_attach = (uct_md_mem_attach_func_t)ucs_empty_function_return_unsupported, .detect_memory_type = uct_rocm_base_detect_memory_type, }; @@ -342,11 +343,12 @@ static uct_md_ops_t md_rcache_ops = { .query = uct_rocm_copy_md_query, .mem_alloc = uct_rocm_copy_mem_alloc, .mem_free = uct_rocm_copy_mem_free, - .mkey_pack = uct_rocm_copy_mkey_pack, + .mem_advise = (uct_md_mem_advise_func_t)ucs_empty_function_return_unsupported, .mem_reg = uct_rocm_copy_mem_rcache_reg, .mem_dereg = uct_rocm_copy_mem_rcache_dereg, - .mem_attach = (uct_md_mem_attach_func_t)ucs_empty_function_return_unsupported, .mem_query = uct_rocm_base_mem_query, + .mkey_pack = uct_rocm_copy_mkey_pack, + .mem_attach = (uct_md_mem_attach_func_t)ucs_empty_function_return_unsupported, .detect_memory_type = uct_rocm_base_detect_memory_type, }; diff --git a/src/uct/rocm/ipc/rocm_ipc_md.c b/src/uct/rocm/ipc/rocm_ipc_md.c index f9fe39ff5e1..0e0721eb94d 100644 --- a/src/uct/rocm/ipc/rocm_ipc_md.c +++ b/src/uct/rocm/ipc/rocm_ipc_md.c @@ -124,11 +124,14 @@ uct_rocm_ipc_md_open(uct_component_h component, const char *md_name, static uct_md_ops_t md_ops = { .close = (uct_md_close_func_t)ucs_empty_function, .query = uct_rocm_ipc_md_query, - .mkey_pack = uct_rocm_ipc_mkey_pack, + .mem_alloc = (uct_md_mem_alloc_func_t)ucs_empty_function_return_unsupported, + .mem_free = (uct_md_mem_free_func_t)ucs_empty_function_return_unsupported, + .mem_advise = (uct_md_mem_advise_func_t)ucs_empty_function_return_unsupported, .mem_reg = uct_rocm_ipc_mem_reg, .mem_dereg = uct_rocm_ipc_mem_dereg, - .mem_attach = (uct_md_mem_attach_func_t)ucs_empty_function_return_unsupported, .mem_query = (uct_md_mem_query_func_t)ucs_empty_function_return_unsupported, + .mkey_pack = uct_rocm_ipc_mkey_pack, + .mem_attach = (uct_md_mem_attach_func_t)ucs_empty_function_return_unsupported, .detect_memory_type = (uct_md_detect_memory_type_func_t)ucs_empty_function_return_unsupported, }; static uct_md_t md = { diff --git a/src/uct/sm/mm/posix/mm_posix.c b/src/uct/sm/mm/posix/mm_posix.c index 114f0b1a952..fff2c7a4cf0 100644 --- a/src/uct/sm/mm/posix/mm_posix.c +++ b/src/uct/sm/mm/posix/mm_posix.c @@ -767,8 +767,9 @@ static uct_mm_md_mapper_ops_t uct_posix_md_ops = { .mem_advise = (uct_md_mem_advise_func_t)ucs_empty_function_return_unsupported, .mem_reg = (uct_md_mem_reg_func_t)ucs_empty_function_return_unsupported, .mem_dereg = (uct_md_mem_dereg_func_t)ucs_empty_function_return_unsupported, - .mem_attach = (uct_md_mem_attach_func_t)ucs_empty_function_return_unsupported, + .mem_query = (uct_md_mem_query_func_t)ucs_empty_function_return_unsupported, .mkey_pack = uct_posix_md_mkey_pack, + .mem_attach = (uct_md_mem_attach_func_t)ucs_empty_function_return_unsupported, .detect_memory_type = (uct_md_detect_memory_type_func_t)ucs_empty_function_return_unsupported }, .query = uct_posix_query, diff --git a/src/uct/sm/mm/sysv/mm_sysv.c b/src/uct/sm/mm/sysv/mm_sysv.c index b5410bdd4c2..b7ae9332b8f 100644 --- a/src/uct/sm/mm/sysv/mm_sysv.c +++ b/src/uct/sm/mm/sysv/mm_sysv.c @@ -202,8 +202,9 @@ static uct_mm_md_mapper_ops_t uct_sysv_md_ops = { .mem_advise = (uct_md_mem_advise_func_t)ucs_empty_function_return_unsupported, .mem_reg = (uct_md_mem_reg_func_t)ucs_empty_function_return_unsupported, .mem_dereg = (uct_md_mem_dereg_func_t)ucs_empty_function_return_unsupported, - .mem_attach = (uct_md_mem_attach_func_t)ucs_empty_function_return_unsupported, + .mem_query = (uct_md_mem_query_func_t)ucs_empty_function_return_unsupported, .mkey_pack = uct_sysv_md_mkey_pack, + .mem_attach = (uct_md_mem_attach_func_t)ucs_empty_function_return_unsupported, .detect_memory_type = (uct_md_detect_memory_type_func_t)ucs_empty_function_return_unsupported }, .query = uct_sysv_query, diff --git a/src/uct/sm/mm/xpmem/mm_xpmem.c b/src/uct/sm/mm/xpmem/mm_xpmem.c index 2407b24af51..b6fe3e7b328 100644 --- a/src/uct/sm/mm/xpmem/mm_xpmem.c +++ b/src/uct/sm/mm/xpmem/mm_xpmem.c @@ -539,8 +539,9 @@ static uct_mm_md_mapper_ops_t uct_xpmem_md_ops = { .mem_advise = (uct_md_mem_advise_func_t)ucs_empty_function_return_unsupported, .mem_reg = uct_xmpem_mem_reg, .mem_dereg = uct_xmpem_mem_dereg, - .mem_attach = (uct_md_mem_attach_func_t)ucs_empty_function_return_unsupported, + .mem_query = (uct_md_mem_query_func_t)ucs_empty_function_return_unsupported, .mkey_pack = uct_xpmem_mkey_pack, + .mem_attach = (uct_md_mem_attach_func_t)ucs_empty_function_return_unsupported, .detect_memory_type = (uct_md_detect_memory_type_func_t)ucs_empty_function_return_unsupported }, .query = uct_xpmem_query, diff --git a/src/uct/sm/scopy/cma/cma_md.c b/src/uct/sm/scopy/cma/cma_md.c index f9fe1c229ff..b139b58313e 100644 --- a/src/uct/sm/scopy/cma/cma_md.c +++ b/src/uct/sm/scopy/cma/cma_md.c @@ -166,8 +166,10 @@ uct_cma_md_open(uct_component_t *component, const char *md_name, .query = uct_cma_md_query, .mem_alloc = (uct_md_mem_alloc_func_t)ucs_empty_function_return_unsupported, .mem_free = (uct_md_mem_free_func_t)ucs_empty_function_return_unsupported, + .mem_advise = (uct_md_mem_advise_func_t)ucs_empty_function_return_unsupported, .mem_reg = (uct_md_mem_reg_func_t)ucs_empty_function_return_unsupported, .mem_dereg = (uct_md_mem_dereg_func_t)ucs_empty_function_return_unsupported, + .mem_query = (uct_md_mem_query_func_t)ucs_empty_function_return_unsupported, .mkey_pack = (uct_md_mkey_pack_func_t)ucs_empty_function_return_unsupported, .mem_attach = (uct_md_mem_attach_func_t)ucs_empty_function_return_unsupported, .detect_memory_type = (uct_md_detect_memory_type_func_t)ucs_empty_function_return_unsupported, diff --git a/src/uct/sm/scopy/knem/knem_md.c b/src/uct/sm/scopy/knem/knem_md.c index 69af6e1d98e..ceafb71e09f 100644 --- a/src/uct/sm/scopy/knem/knem_md.c +++ b/src/uct/sm/scopy/knem/knem_md.c @@ -247,9 +247,13 @@ static ucs_status_t uct_knem_rkey_release(uct_component_t *component, static uct_md_ops_t md_ops = { .close = uct_knem_md_close, .query = uct_knem_md_query, - .mkey_pack = uct_knem_mkey_pack, + .mem_alloc = (uct_md_mem_alloc_func_t)ucs_empty_function_return_unsupported, + .mem_free = (uct_md_mem_free_func_t)ucs_empty_function_return_unsupported, + .mem_advise = (uct_md_mem_advise_func_t)ucs_empty_function_return_unsupported, .mem_reg = uct_knem_mem_reg, .mem_dereg = uct_knem_mem_dereg, + .mem_query = (uct_md_mem_query_func_t)ucs_empty_function_return_unsupported, + .mkey_pack = uct_knem_mkey_pack, .mem_attach = (uct_md_mem_attach_func_t)ucs_empty_function_return_unsupported, .detect_memory_type = (uct_md_detect_memory_type_func_t)ucs_empty_function_return_unsupported, }; diff --git a/src/uct/sm/self/self.c b/src/uct/sm/self/self.c index 5a767a2e84e..984538d7734 100644 --- a/src/uct/sm/self/self.c +++ b/src/uct/sm/self/self.c @@ -442,9 +442,13 @@ static ucs_status_t uct_self_md_open(uct_component_t *component, const char *md_ static uct_md_ops_t md_ops = { .close = (uct_md_close_func_t)ucs_empty_function, .query = uct_self_md_query, - .mkey_pack = (uct_md_mkey_pack_func_t)ucs_empty_function_return_success, + .mem_alloc = (uct_md_mem_alloc_func_t)ucs_empty_function_return_unsupported, + .mem_free = (uct_md_mem_free_func_t)ucs_empty_function_return_unsupported, + .mem_advise = (uct_md_mem_advise_func_t)ucs_empty_function_return_unsupported, .mem_reg = uct_md_dummy_mem_reg, .mem_dereg = uct_md_dummy_mem_dereg, + .mem_query = (uct_md_mem_query_func_t)ucs_empty_function_return_unsupported, + .mkey_pack = (uct_md_mkey_pack_func_t)ucs_empty_function_return_success, .mem_attach = (uct_md_mem_attach_func_t)ucs_empty_function_return_unsupported, .detect_memory_type = (uct_md_detect_memory_type_func_t)ucs_empty_function_return_unsupported }; diff --git a/src/uct/tcp/tcp_md.c b/src/uct/tcp/tcp_md.c index a3c0524de19..b42b501d87e 100644 --- a/src/uct/tcp/tcp_md.c +++ b/src/uct/tcp/tcp_md.c @@ -43,9 +43,14 @@ static void uct_tcp_md_close(uct_md_h md) static uct_md_ops_t uct_tcp_md_ops = { .close = uct_tcp_md_close, .query = uct_tcp_md_query, + .mem_alloc = (uct_md_mem_alloc_func_t)ucs_empty_function_return_unsupported, + .mem_free = (uct_md_mem_free_func_t)ucs_empty_function_return_unsupported, + .mem_advise = (uct_md_mem_advise_func_t)ucs_empty_function_return_unsupported, .mem_reg = (uct_md_mem_reg_func_t)ucs_empty_function_return_unsupported, .mem_dereg = (uct_md_mem_dereg_func_t)ucs_empty_function_return_unsupported, + .mem_query = (uct_md_mem_query_func_t)ucs_empty_function_return_unsupported, .mkey_pack = (uct_md_mkey_pack_func_t)ucs_empty_function_return_unsupported, + .mem_attach = (uct_md_mem_attach_func_t)ucs_empty_function_return_unsupported, .detect_memory_type = (uct_md_detect_memory_type_func_t)ucs_empty_function_return_unsupported }; diff --git a/src/uct/ze/copy/ze_copy_md.c b/src/uct/ze/copy/ze_copy_md.c index 3884273ce4a..737c65d56a7 100644 --- a/src/uct/ze/copy/ze_copy_md.c +++ b/src/uct/ze/copy/ze_copy_md.c @@ -245,11 +245,12 @@ static uct_md_ops_t md_ops = { .query = uct_ze_copy_md_query, .mem_alloc = uct_ze_copy_mem_alloc, .mem_free = uct_ze_copy_mem_free, - .mkey_pack = ucs_empty_function_return_success, + .mem_advise = (uct_md_mem_advise_func_t)ucs_empty_function_return_unsupported, .mem_reg = uct_ze_copy_mem_reg, .mem_dereg = ucs_empty_function_return_success, - .mem_attach = (uct_md_mem_attach_func_t)ucs_empty_function_return_unsupported, .mem_query = uct_ze_copy_md_mem_query, + .mkey_pack = ucs_empty_function_return_success, + .mem_attach = (uct_md_mem_attach_func_t)ucs_empty_function_return_unsupported, .detect_memory_type = uct_ze_copy_md_detect_memory_type, };