Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 6 additions & 11 deletions ompi/mca/topo/treematch/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,20 @@

if topo_treematch_local
extra_treematch_files = treematch/tm_bucket.h \
treematch/tm_mapping.h \
treematch/tm_hwloc.h treematch/tm_mapping.h \
treematch/tm_timings.h treematch/tm_tree.h \
treematch/tm_kpartitioning.h treematch/uthash.h\
treematch/IntConstantInitializedVector.h \
treematch/tm_mt.h treematch/fibo.h \
treematch/tm_mt.h \
treematch/tm_thread_pool.h treematch/tm_verbose.h \
treematch/tm_malloc.h treematch/k-partitioning.h\
treematch/tm_solution.h treematch/tm_topology.h\
treematch/PriorityQueue.h \
treematch/tm_malloc.h \
treematch/IntConstantInitializedVector.c \
treematch/tm_mt.c treematch/fibo.c \
treematch/tm_mt.c \
treematch/tm_thread_pool.c treematch/tm_verbose.c \
treematch/tm_malloc.c treematch/treematch.h \
treematch/tm_malloc.c \
treematch/tm_mapping.c treematch/tm_timings.c \
treematch/tm_bucket.c treematch/tm_tree.c \
treematch/tm_topology.c treematch/tm_kpartitioning.c \
treematch/tm_solution.c treematch/k-partitioning.c \
treematch/PriorityQueue.c
EXTRA_DIST = treematch/COPYING treematch/LICENSE
treematch/tm_hwloc.c treematch/tm_kpartitioning.c
endif

sources = \
Expand Down
7 changes: 0 additions & 7 deletions ompi/mca/topo/treematch/topo_treematch_component.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,6 @@ mca_topo_treematch_component_2_2_0_t mca_topo_treematch_component =

static int init_query(bool enable_progress_threads, bool enable_mpi_threads)
{
if (OPAL_SUCCESS != opal_hwloc_base_get_topology()) {
return OPAL_ERR_NOT_SUPPORTED;
}
if(NULL == opal_hwloc_topology) {
return OPAL_ERR_NOT_SUPPORTED;
}
return OMPI_SUCCESS;
}

Expand Down Expand Up @@ -101,4 +95,3 @@ static int mca_topo_treematch_component_register(void)
MCA_BASE_VAR_SCOPE_READONLY, &mca_topo_treematch_component.reorder_mode);
return OMPI_SUCCESS;
}

719 changes: 385 additions & 334 deletions ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@
#include <stdio.h>
#include "IntConstantInitializedVector.h"


int intCIV_isInitialized(int_CIVector * v, int i)
{
if(v->top == 0)
return 0;
if(v->from[i] >= 0)
if(v->from[i] < v->top && v->to[v->from[i]] == i)
if(v->from[i] < v->top && v->to[v->from[i]] == i)
return 1;
return 0;
}
Expand Down Expand Up @@ -44,7 +45,7 @@ int intCIV_set(int_CIVector * v, int i, int val)
v->top++;
}
v->vec[i] = val;
return 0;
return 0;
}

int intCIV_get(int_CIVector * v, int i)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ void intCIV_exit(int_CIVector * v);
int intCIV_set(int_CIVector * v, int i, int val);
int intCIV_get(int_CIVector * v, int i);


#endif /*INTEGER_CONSTANT_INITIALIZED_VECTOR*/
170 changes: 0 additions & 170 deletions ompi/mca/topo/treematch/treematch/PriorityQueue.c

This file was deleted.

108 changes: 0 additions & 108 deletions ompi/mca/topo/treematch/treematch/PriorityQueue.h

This file was deleted.

Loading