@@ -425,6 +425,12 @@ static inline ucc_ep_map_t get_rank_map(struct ompi_communicator_t *comm)
425425 MCA_COLL_INSTALL_API(__comm, i##__api, mca_coll_ucc_i##__api, &__ucc_module->super, "ucc"); \
426426 (__ucc_module)->super.coll_i##__api = mca_coll_ucc_i##__api; \
427427 } \
428+ if (mca_coll_ucc_component.pc_cts_requested & UCC_COLL_TYPE_##__COLL) \
429+ { \
430+ MCA_COLL_SAVE_API(__comm, __api##_init, (__ucc_module)->previous_##__api##_init, (__ucc_module)->previous_##__api##_init_module, "ucc"); \
431+ MCA_COLL_INSTALL_API(__comm, __api##_init, mca_coll_ucc_##__api##_init, &__ucc_module->super, "ucc"); \
432+ (__ucc_module)->super.coll_##__api##_init = mca_coll_ucc_##__api##_init; \
433+ } \
428434 } \
429435 } while (0)
430436
@@ -559,11 +565,32 @@ mca_coll_ucc_module_disable(mca_coll_base_module_t *module,
559565 UCC_UNINSTALL_COLL_API (comm , ucc_module , reduce );
560566 UCC_UNINSTALL_COLL_API (comm , ucc_module , ireduce );
561567 UCC_UNINSTALL_COLL_API (comm , ucc_module , gather );
568+ /* UCC_UNINSTALL_COLL_API(comm, ucc_module, igather); */
562569 UCC_UNINSTALL_COLL_API (comm , ucc_module , gatherv );
570+ /* UCC_UNINSTALL_COLL_API(comm, ucc_module, igatherv); */
563571 UCC_UNINSTALL_COLL_API (comm , ucc_module , reduce_scatter_block );
572+ /* UCC_UNINSTALL_COLL_API(comm, ucc_module, ireduce_scatter_block); */
564573 UCC_UNINSTALL_COLL_API (comm , ucc_module , reduce_scatter );
574+ /* UCC_UNINSTALL_COLL_API(comm, ucc_module, ireduce_scatter); */
565575 UCC_UNINSTALL_COLL_API (comm , ucc_module , scatter );
576+ /* UCC_UNINSTALL_COLL_API(comm, ucc_module, iscatter); */
566577 UCC_UNINSTALL_COLL_API (comm , ucc_module , scatterv );
578+ /* UCC_UNINSTALL_COLL_API(comm, ucc_module, iscatterv); */
579+
580+ UCC_UNINSTALL_COLL_API (comm , ucc_module , allreduce_init );
581+ UCC_UNINSTALL_COLL_API (comm , ucc_module , barrier_init );
582+ UCC_UNINSTALL_COLL_API (comm , ucc_module , bcast_init );
583+ UCC_UNINSTALL_COLL_API (comm , ucc_module , alltoall_init );
584+ UCC_UNINSTALL_COLL_API (comm , ucc_module , alltoallv_init );
585+ UCC_UNINSTALL_COLL_API (comm , ucc_module , allgather_init );
586+ UCC_UNINSTALL_COLL_API (comm , ucc_module , allgatherv_init );
587+ UCC_UNINSTALL_COLL_API (comm , ucc_module , reduce_init );
588+ UCC_UNINSTALL_COLL_API (comm , ucc_module , gather_init );
589+ UCC_UNINSTALL_COLL_API (comm , ucc_module , gatherv_init );
590+ UCC_UNINSTALL_COLL_API (comm , ucc_module , reduce_scatter_block_init );
591+ UCC_UNINSTALL_COLL_API (comm , ucc_module , reduce_scatter_init );
592+ UCC_UNINSTALL_COLL_API (comm , ucc_module , scatter_init );
593+ UCC_UNINSTALL_COLL_API (comm , ucc_module , scatterv_init );
567594
568595 return OMPI_SUCCESS ;
569596}
0 commit comments