Skip to content

Commit e3cb7d6

Browse files
authored
Merge pull request #10911 from zhangxiaoli73/cherry/enable-ze-build
UCT/ZE: fix ze transport build failures
2 parents d6695d5 + b4d395b commit e3cb7d6

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ Yossi Itigin <yosefe@nvidia.com>
114114
Yuriy Shestakov <yuriis@mellanox.com>
115115
Zhu Yanjun <yanjunz@mellanox.com>
116116
Zihao Zhao <zizhao@nvidia.com>
117+
lzhang2 <cherry.zhang@intel.com>
117118

118119
In addition we would like to acknowledge the following members of UCX community
119120
for their participation in annual face-to-face meeting, design discussions, and

src/uct/ze/copy/ze_copy_iface.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,10 +197,10 @@ uct_ze_copy_estimate_perf(uct_iface_h tl_iface, uct_perf_attr_t *perf_attr)
197197
static uct_iface_internal_ops_t uct_ze_copy_iface_internal_ops = {
198198
.iface_query_v2 = uct_iface_base_query_v2,
199199
.iface_estimate_perf = uct_ze_copy_estimate_perf,
200-
.iface_vfs_refresh = ucs_empty_function,
200+
.iface_vfs_refresh = (uct_iface_vfs_refresh_func_t)ucs_empty_function,
201201
.iface_mem_element_pack = (uct_iface_mem_element_pack_func_t)ucs_empty_function_return_unsupported,
202-
.ep_query = ucs_empty_function_return_unsupported,
203-
.ep_invalidate = ucs_empty_function_return_unsupported,
202+
.ep_query = (uct_ep_query_func_t)ucs_empty_function_return_unsupported,
203+
.ep_invalidate = (uct_ep_invalidate_func_t)ucs_empty_function_return_unsupported,
204204
.ep_connect_to_ep_v2 = (uct_ep_connect_to_ep_v2_func_t)ucs_empty_function_return_unsupported,
205205
.iface_is_reachable_v2 = uct_ze_copy_iface_is_reachable_v2,
206206
.ep_is_connected = uct_base_ep_is_connected,

src/uct/ze/copy/ze_copy_md.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,9 +248,9 @@ static uct_md_ops_t md_ops = {
248248
.mem_free = uct_ze_copy_mem_free,
249249
.mem_advise = (uct_md_mem_advise_func_t)ucs_empty_function_return_unsupported,
250250
.mem_reg = uct_ze_copy_mem_reg,
251-
.mem_dereg = ucs_empty_function_return_success,
251+
.mem_dereg = (uct_md_mem_dereg_func_t)ucs_empty_function_return_success,
252252
.mem_query = uct_ze_copy_md_mem_query,
253-
.mkey_pack = ucs_empty_function_return_success,
253+
.mkey_pack = (uct_md_mkey_pack_func_t)ucs_empty_function_return_success,
254254
.mem_attach = (uct_md_mem_attach_func_t)ucs_empty_function_return_unsupported,
255255
.detect_memory_type = uct_ze_copy_md_detect_memory_type,
256256
};

0 commit comments

Comments
 (0)