Skip to content

Commit

Permalink
coll/han: cleanup unused utils
Browse files Browse the repository at this point in the history
With the large-count interface we no longer need these utils.

Signed-off-by: Wenduo Wang <[email protected]>
  • Loading branch information
wenduwan committed Aug 19, 2024
1 parent c53b111 commit fa79f22
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 81 deletions.
3 changes: 1 addition & 2 deletions ompi/mca/coll/han/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ coll_han_algorithms.c \
coll_han_dynamic.c \
coll_han_dynamic_file.c \
coll_han_topo.c \
coll_han_subcomms.c \
coll_han_utils.c
coll_han_subcomms.c

# Make the output library in this directory, and name it either
# mca_<type>_<name>.la (for DSO builds) or libmca_<type>_<name>.la
Expand Down
7 changes: 0 additions & 7 deletions ompi/mca/coll/han/coll_han.h
Original file line number Diff line number Diff line change
Expand Up @@ -544,13 +544,6 @@ ompi_coll_han_reorder_gather(const void *sbuf,
struct ompi_communicator_t *comm,
int * topo);

size_t
coll_han_utils_gcd(const uint64_t *numerators, const size_t size);

int
coll_han_utils_create_contiguous_datatype(size_t count, const ompi_datatype_t *oldType,
ompi_datatype_t **newType);

static inline struct mca_smsc_endpoint_t *mca_coll_han_get_smsc_endpoint (struct ompi_proc_t *proc) {
extern opal_mutex_t mca_coll_han_lock;
if (NULL == proc->proc_endpoints[OMPI_PROC_ENDPOINT_TAG_SMSC]) {
Expand Down
72 changes: 0 additions & 72 deletions ompi/mca/coll/han/coll_han_utils.c

This file was deleted.

0 comments on commit fa79f22

Please sign in to comment.