File tree Expand file tree Collapse file tree 2 files changed +0
-16
lines changed Expand file tree Collapse file tree 2 files changed +0
-16
lines changed Original file line number Diff line number Diff line change 25
25
#include "ompi/runtime/ompi_spc.h"
26
26
#include "ompi/mca/pml/base/pml_base_bsend.h"
27
27
#include "opal/mca/common/ucx/common_ucx.h"
28
- #if OPAL_CUDA_SUPPORT
29
- #include "opal/cuda/common_cuda.h"
30
- #endif /* OPAL_CUDA_SUPPORT */
31
28
#include "pml_ucx_request.h"
32
29
33
30
#include <inttypes.h>
@@ -265,26 +262,14 @@ int mca_pml_ucx_open(void)
265
262
}
266
263
267
264
ompi_pml_ucx .request_size = attr .request_size ;
268
- ompi_pml_ucx .cuda_initialized = false;
269
265
270
- #if HAVE_UCP_ATTR_MEMORY_TYPES && OPAL_CUDA_SUPPORT
271
- if (attr .memory_types & UCS_BIT (UCS_MEMORY_TYPE_CUDA )) {
272
- mca_common_cuda_stage_one_init ();
273
- ompi_pml_ucx .cuda_initialized = true;
274
- }
275
- #endif
276
266
return OMPI_SUCCESS ;
277
267
}
278
268
279
269
int mca_pml_ucx_close (void )
280
270
{
281
271
PML_UCX_VERBOSE (1 , "mca_pml_ucx_close" );
282
272
283
- #if OPAL_CUDA_SUPPORT
284
- if (ompi_pml_ucx .cuda_initialized ) {
285
- mca_common_cuda_fini ();
286
- }
287
- #endif
288
273
if (ompi_pml_ucx .ucp_context != NULL ) {
289
274
ucp_cleanup (ompi_pml_ucx .ucp_context );
290
275
ompi_pml_ucx .ucp_context = NULL ;
Original file line number Diff line number Diff line change @@ -57,7 +57,6 @@ struct mca_pml_ucx_module {
57
57
mca_pml_ucx_freelist_t convs ;
58
58
59
59
int priority ;
60
- bool cuda_initialized ;
61
60
bool request_leak_check ;
62
61
uint32_t op_attr_nonblocking ;
63
62
};
You can’t perform that action at this time.
0 commit comments