File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -134,14 +134,12 @@ int mca_pml_ucx_open(void)
134
134
UCP_PARAM_FIELD_REQUEST_SIZE |
135
135
UCP_PARAM_FIELD_REQUEST_INIT |
136
136
UCP_PARAM_FIELD_REQUEST_CLEANUP |
137
- UCP_PARAM_FIELD_TAG_SENDER_MASK |
138
- UCP_PARAM_FIELD_MT_WORKERS_SHARED ;
137
+ UCP_PARAM_FIELD_TAG_SENDER_MASK ;
139
138
params .features = UCP_FEATURE_TAG ;
140
139
params .request_size = sizeof (ompi_request_t );
141
140
params .request_init = mca_pml_ucx_request_init ;
142
141
params .request_cleanup = mca_pml_ucx_request_cleanup ;
143
142
params .tag_sender_mask = PML_UCX_SPECIFIC_SOURCE_MASK ;
144
- params .mt_workers_shared = 0 ;
145
143
146
144
status = ucp_init (& params , config , & ompi_pml_ucx .ucp_context );
147
145
ucp_config_release (config );
@@ -185,7 +183,7 @@ int mca_pml_ucx_init(void)
185
183
186
184
/* TODO check MPI thread mode */
187
185
params .field_mask = UCP_WORKER_PARAM_FIELD_THREAD_MODE ;
188
- params .thread_mode = UCS_THREAD_MODE_MULTI ;
186
+ params .thread_mode = UCS_THREAD_MODE_SINGLE ;
189
187
190
188
status = ucp_worker_create (ompi_pml_ucx .ucp_context , & params ,
191
189
& ompi_pml_ucx .ucp_worker );
Original file line number Diff line number Diff line change @@ -127,8 +127,7 @@ static int mca_spml_ucx_component_open(void)
127
127
128
128
memset (& params , 0 , sizeof (params ));
129
129
params .field_mask = UCP_PARAM_FIELD_FEATURES ;
130
- params .features = UCP_FEATURE_RMA |UCP_FEATURE_AMO32 |UCP_FEATURE_AMO64 |UCP_PARAM_FIELD_MT_WORKERS_SHARED ;
131
- params .mt_workers_shared = 0 ;
130
+ params .features = UCP_FEATURE_RMA |UCP_FEATURE_AMO32 |UCP_FEATURE_AMO64 ;
132
131
133
132
err = ucp_init (& params , ucp_config , & mca_spml_ucx .ucp_context );
134
133
ucp_config_release (ucp_config );
@@ -154,7 +153,7 @@ static int spml_ucx_init(void)
154
153
ucs_status_t err ;
155
154
156
155
params .field_mask = UCP_WORKER_PARAM_FIELD_THREAD_MODE ;
157
- params .thread_mode = UCS_THREAD_MODE_MULTI ;
156
+ params .thread_mode = UCS_THREAD_MODE_SINGLE ;
158
157
159
158
err = ucp_worker_create (mca_spml_ucx .ucp_context , & params ,
160
159
& mca_spml_ucx .ucp_worker );
You can’t perform that action at this time.
0 commit comments