Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
TAPIOCA
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Francois Tessier
TAPIOCA
Commits
29b74754
Commit
29b74754
authored
Aug 09, 2017
by
Francois Tessier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move aggregator placement algorithms to a dedicated file
parent
a98f7b9e
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
349 additions
and
296 deletions
+349
-296
tapioca.cpp
tapioca.cpp
+5
-295
tapioca.hpp
tapioca.hpp
+3
-1
tp_placement.cpp
tp_placement.cpp
+341
-0
No files found.
tapioca.cpp
View file @
29b74754
This diff is collapsed.
Click to expand it.
tapioca.hpp
View file @
29b74754
...
@@ -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
);
/***********************/
/***********************/
...
...
tp_placement.cpp
0 → 100644
View file @
29b74754
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment