@@ -48,47 +48,47 @@ static
48
48
spml_ucx_mkey_t * mca_spml_ucx_get_mkey_slow (int pe , void * va , void * * rva );
49
49
50
50
mca_spml_ucx_t mca_spml_ucx = {
51
- {
51
+ . super = {
52
52
/* Init mca_spml_base_module_t */
53
- mca_spml_ucx_add_procs ,
54
- mca_spml_ucx_del_procs ,
55
- mca_spml_ucx_enable ,
56
- mca_spml_ucx_register ,
57
- mca_spml_ucx_deregister ,
58
- mca_spml_base_oob_get_mkeys ,
59
- mca_spml_ucx_ctx_create ,
60
- mca_spml_ucx_ctx_destroy ,
61
- mca_spml_ucx_put ,
62
- mca_spml_ucx_put_nb ,
63
- mca_spml_ucx_get ,
64
- mca_spml_ucx_get_nb ,
65
- mca_spml_ucx_recv ,
66
- mca_spml_ucx_send ,
67
- mca_spml_base_wait ,
68
- mca_spml_base_wait_nb ,
69
- mca_spml_base_test ,
70
- mca_spml_ucx_fence ,
71
- mca_spml_ucx_quiet ,
72
- mca_spml_ucx_rmkey_unpack ,
73
- mca_spml_ucx_rmkey_free ,
74
- mca_spml_ucx_rmkey_ptr ,
75
- mca_spml_ucx_memuse_hook ,
76
- (void * )& mca_spml_ucx
53
+ . spml_add_procs = mca_spml_ucx_add_procs ,
54
+ . spml_del_procs = mca_spml_ucx_del_procs ,
55
+ . spml_enable = mca_spml_ucx_enable ,
56
+ . spml_register = mca_spml_ucx_register ,
57
+ . spml_deregister = mca_spml_ucx_deregister ,
58
+ . spml_oob_get_mkeys = mca_spml_base_oob_get_mkeys ,
59
+ . spml_ctx_create = mca_spml_ucx_ctx_create ,
60
+ . spml_ctx_destroy = mca_spml_ucx_ctx_destroy ,
61
+ . spml_put = mca_spml_ucx_put ,
62
+ . spml_put_nb = mca_spml_ucx_put_nb ,
63
+ . spml_get = mca_spml_ucx_get ,
64
+ . spml_get_nb = mca_spml_ucx_get_nb ,
65
+ . spml_recv = mca_spml_ucx_recv ,
66
+ . spml_send = mca_spml_ucx_send ,
67
+ . spml_wait = mca_spml_base_wait ,
68
+ . spml_wait_nb = mca_spml_base_wait_nb ,
69
+ . spml_test = mca_spml_base_test ,
70
+ . spml_fence = mca_spml_ucx_fence ,
71
+ . spml_quiet = mca_spml_ucx_quiet ,
72
+ . spml_rmkey_unpack = mca_spml_ucx_rmkey_unpack ,
73
+ . spml_rmkey_free = mca_spml_ucx_rmkey_free ,
74
+ . spml_rmkey_ptr = mca_spml_ucx_rmkey_ptr ,
75
+ . spml_memuse_hook = mca_spml_ucx_memuse_hook ,
76
+ . self = (void * )& mca_spml_ucx
77
77
},
78
78
79
- NULL , /* ucp_context */
80
- 1 , /* num_disconnect */
81
- 0 , /* heap_reg_nb */
82
- 0 , /* enabled */
83
- mca_spml_ucx_get_mkey_slow
79
+ . ucp_context = NULL ,
80
+ . num_disconnect = 1 ,
81
+ . heap_reg_nb = 0 ,
82
+ . enabled = 0 ,
83
+ . get_mkey_slow = mca_spml_ucx_get_mkey_slow
84
84
};
85
85
86
86
OBJ_CLASS_INSTANCE (mca_spml_ucx_ctx_list_item_t , opal_list_item_t , NULL , NULL );
87
87
88
88
mca_spml_ucx_ctx_t mca_spml_ucx_ctx_default = {
89
- NULL , /* ucp_worker */
90
- NULL , /* ucp_peers */
91
- 0 /* options */
89
+ . ucp_worker = NULL ,
90
+ . ucp_peers = NULL ,
91
+ . options = 0
92
92
};
93
93
94
94
int mca_spml_ucx_enable (bool enable )
0 commit comments