Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
codes
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
38
Issues
38
List
Boards
Labels
Milestones
Merge Requests
8
Merge Requests
8
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
codes
codes
Commits
dec76148
Commit
dec76148
authored
Mar 23, 2017
by
Misbah Mubarak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing intra-group router search contributed by Nikhil
parent
ed16435e
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
70 additions
and
76 deletions
+70
-76
codes/model-net-lp.h
codes/model-net-lp.h
+2
-0
src/networks/model-net/dragonfly-custom.C
src/networks/model-net/dragonfly-custom.C
+64
-72
src/networks/model-net/model-net-lp.c
src/networks/model-net/model-net-lp.c
+4
-4
No files found.
codes/model-net-lp.h
View file @
dec76148
...
...
@@ -22,6 +22,7 @@ extern "C" {
#include "model-net.h"
#include "model-net-sched.h"
#include "net/dragonfly.h"
#include "net/dragonfly-custom.h"
#include "net/slimfly.h"
#include "net/fattree.h"
#include "net/loggp.h"
...
...
@@ -124,6 +125,7 @@ typedef struct model_net_wrap_msg {
union
{
model_net_base_msg
m_base
;
// base lp
terminal_message
m_dfly
;
// dragonfly
terminal_custom_message
m_custom_dfly
;
// dragonfly-custom
slim_terminal_message
m_slim
;
// slimfly
fattree_message
m_fat
;
// fattree
loggp_message
m_loggp
;
// loggp
...
...
src/networks/model-net/dragonfly-custom.C
View file @
dec76148
This diff is collapsed.
Click to expand it.
src/networks/model-net/model-net-lp.c
View file @
dec76148
...
...
@@ -278,14 +278,14 @@ void model_net_base_configure(){
msg_offsets
[
TORUS
]
=
offsetof
(
model_net_wrap_msg
,
msg
.
m_torus
);
msg_offsets
[
DRAGONFLY
]
=
offsetof
(
model_net_wrap_msg
,
msg
.
m_dfly
);
offsetof
(
model_net_wrap_msg
,
msg
.
m_
custom_
dfly
);
// note: dragonfly router uses the same event struct
msg_offsets
[
DRAGONFLY_ROUTER
]
=
offsetof
(
model_net_wrap_msg
,
msg
.
m_dfly
);
offsetof
(
model_net_wrap_msg
,
msg
.
m_
custom_
dfly
);
msg_offsets
[
DRAGONFLY_CUSTOM
]
=
offsetof
(
model_net_wrap_msg
,
msg
.
m_dfly
);
offsetof
(
model_net_wrap_msg
,
msg
.
m_
custom_
dfly
);
msg_offsets
[
DRAGONFLY_CUSTOM_ROUTER
]
=
offsetof
(
model_net_wrap_msg
,
msg
.
m_dfly
);
offsetof
(
model_net_wrap_msg
,
msg
.
m_
custom_
dfly
);
msg_offsets
[
SLIMFLY
]
=
offsetof
(
model_net_wrap_msg
,
msg
.
m_slim
);
msg_offsets
[
FATTREE
]
=
...
...
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