Commit 29b74754 authored by Francois Tessier's avatar Francois Tessier

Move aggregator placement algorithms to a dedicated file

parent a98f7b9e
This diff is collapsed.
...@@ -26,7 +26,8 @@ enum MAPPING_STRATEGY ...@@ -26,7 +26,8 @@ enum MAPPING_STRATEGY
LONGEST_PATH, LONGEST_PATH,
TOPOLOGY_AWARE, TOPOLOGY_AWARE,
CONTENTION_AWARE, CONTENTION_AWARE,
UNIFORM UNIFORM,
RANDOM
}; };
enum MEMORY_LAYOUT enum MEMORY_LAYOUT
...@@ -100,6 +101,7 @@ class Tapioca ...@@ -100,6 +101,7 @@ class Tapioca
int RankTopologyAware (MPI_Comm aggrComm, int64_t dataSize); int RankTopologyAware (MPI_Comm aggrComm, int64_t dataSize);
int RankContentionAware (MPI_Comm aggrComm, int64_t dataSize); int RankContentionAware (MPI_Comm aggrComm, int64_t dataSize);
int RankUniformDistribution (MPI_Comm aggrComm, int64_t dataSize); int RankUniformDistribution (MPI_Comm aggrComm, int64_t dataSize);
int RankRandom (MPI_Comm aggrComm, int64_t dataSize);
int CoordsToInt (int *coords, int dim); int CoordsToInt (int *coords, int dim);
/***********************/ /***********************/
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment