Skip to content

Commit 1ec3fd3

Browse files
authored
Revert "Topic/treematch"
1 parent d6048af commit 1ec3fd3

38 files changed

+3059
-5403
lines changed

ompi/mca/topo/treematch/Makefile.am

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,20 @@
1313

1414
if topo_treematch_local
1515
extra_treematch_files = treematch/tm_bucket.h \
16-
treematch/tm_mapping.h \
16+
treematch/tm_hwloc.h treematch/tm_mapping.h \
1717
treematch/tm_timings.h treematch/tm_tree.h \
1818
treematch/tm_kpartitioning.h treematch/uthash.h\
1919
treematch/IntConstantInitializedVector.h \
20-
treematch/tm_mt.h treematch/fibo.h \
20+
treematch/tm_mt.h \
2121
treematch/tm_thread_pool.h treematch/tm_verbose.h \
22-
treematch/tm_malloc.h treematch/k-partitioning.h\
23-
treematch/tm_solution.h treematch/tm_topology.h\
24-
treematch/PriorityQueue.h \
22+
treematch/tm_malloc.h \
2523
treematch/IntConstantInitializedVector.c \
26-
treematch/tm_mt.c treematch/fibo.c \
24+
treematch/tm_mt.c \
2725
treematch/tm_thread_pool.c treematch/tm_verbose.c \
28-
treematch/tm_malloc.c treematch/treematch.h \
26+
treematch/tm_malloc.c \
2927
treematch/tm_mapping.c treematch/tm_timings.c \
3028
treematch/tm_bucket.c treematch/tm_tree.c \
31-
treematch/tm_topology.c treematch/tm_kpartitioning.c \
32-
treematch/tm_solution.c treematch/k-partitioning.c \
33-
treematch/PriorityQueue.c
34-
EXTRA_DIST = treematch/COPYING treematch/LICENSE
29+
treematch/tm_hwloc.c treematch/tm_kpartitioning.c
3530
endif
3631

3732
sources = \

ompi/mca/topo/treematch/topo_treematch_component.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,6 @@ mca_topo_treematch_component_2_2_0_t mca_topo_treematch_component =
6262

6363
static int init_query(bool enable_progress_threads, bool enable_mpi_threads)
6464
{
65-
if (OPAL_SUCCESS != opal_hwloc_base_get_topology()) {
66-
return OPAL_ERR_NOT_SUPPORTED;
67-
}
68-
if(NULL == opal_hwloc_topology) {
69-
return OPAL_ERR_NOT_SUPPORTED;
70-
}
7165
return OMPI_SUCCESS;
7266
}
7367

@@ -101,4 +95,3 @@ static int mca_topo_treematch_component_register(void)
10195
MCA_BASE_VAR_SCOPE_READONLY, &mca_topo_treematch_component.reorder_mode);
10296
return OMPI_SUCCESS;
10397
}
104-

ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c

Lines changed: 385 additions & 334 deletions
Large diffs are not rendered by default.

ompi/mca/topo/treematch/treematch/IntConstantInitializedVector.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@
22
#include <stdio.h>
33
#include "IntConstantInitializedVector.h"
44

5+
56
int intCIV_isInitialized(int_CIVector * v, int i)
67
{
78
if(v->top == 0)
89
return 0;
910
if(v->from[i] >= 0)
10-
if(v->from[i] < v->top && v->to[v->from[i]] == i)
11+
if(v->from[i] < v->top && v->to[v->from[i]] == i)
1112
return 1;
1213
return 0;
1314
}
@@ -44,7 +45,7 @@ int intCIV_set(int_CIVector * v, int i, int val)
4445
v->top++;
4546
}
4647
v->vec[i] = val;
47-
return 0;
48+
return 0;
4849
}
4950

5051
int intCIV_get(int_CIVector * v, int i)

ompi/mca/topo/treematch/treematch/IntConstantInitializedVector.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ void intCIV_exit(int_CIVector * v);
1212
int intCIV_set(int_CIVector * v, int i, int val);
1313
int intCIV_get(int_CIVector * v, int i);
1414

15+
1516
#endif /*INTEGER_CONSTANT_INITIALIZED_VECTOR*/

ompi/mca/topo/treematch/treematch/PriorityQueue.c

Lines changed: 0 additions & 170 deletions
This file was deleted.

ompi/mca/topo/treematch/treematch/PriorityQueue.h

Lines changed: 0 additions & 108 deletions
This file was deleted.

0 commit comments

Comments
 (0)