Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
codes-dev
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
Xin Wang
codes-dev
Commits
b5b0bfa9
Commit
b5b0bfa9
authored
Nov 24, 2015
by
Misbah Mubarak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merging mpi-sim-layer-test with codes-net
parent
d0b7f87d
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
10 additions
and
10 deletions
+10
-10
src/models/networks/model-net/dragonfly.c
src/models/networks/model-net/dragonfly.c
+4
-4
tests/conf/modelnet-p2p-bw-loggp.conf
tests/conf/modelnet-p2p-bw-loggp.conf
+1
-1
tests/conf/modelnet-prio-sched-test.conf
tests/conf/modelnet-prio-sched-test.conf
+1
-1
tests/conf/modelnet-test-dragonfly.conf
tests/conf/modelnet-test-dragonfly.conf
+1
-1
tests/conf/modelnet-test-loggp.conf
tests/conf/modelnet-test-loggp.conf
+1
-1
tests/conf/modelnet-test-torus.conf
tests/conf/modelnet-test-torus.conf
+1
-1
tests/conf/modelnet-test.conf
tests/conf/modelnet-test.conf
+1
-1
No files found.
src/models/networks/model-net/dragonfly.c
View file @
b5b0bfa9
...
...
@@ -2064,11 +2064,11 @@ get_next_stop(router_state * s,
/* It means the packet has arrived at the destination group. Now divert it to the destination router. */
if
(
s
->
group_id
==
dest_group_id
)
{
//
if(msg->last_hop == TERMINAL && path == NON_MINIMAL) {
//
dest_lp = (s->group_id * s->params->num_routers) + intm_id % s->params->num_routers;
//
} else {
if
(
msg
->
last_hop
==
TERMINAL
&&
path
==
NON_MINIMAL
)
{
dest_lp
=
(
s
->
group_id
*
s
->
params
->
num_routers
)
+
intm_id
%
s
->
params
->
num_routers
;
}
else
{
dest_lp
=
dest_router_id
;
//
}
}
}
else
{
...
...
tests/conf/modelnet-p2p-bw-loggp.conf
View file @
b5b0bfa9
...
...
@@ -10,7 +10,7 @@ LPGROUPS
PARAMS
{
packet_size
=
"2147483648"
;
message_size
=
"3
1
2"
;
message_size
=
"3
5
2"
;
modelnet_order
=(
"loggp"
);
# scheduler options
modelnet_scheduler
=
"fcfs"
;
...
...
tests/conf/modelnet-prio-sched-test.conf
View file @
b5b0bfa9
...
...
@@ -10,7 +10,7 @@ LPGROUPS
PARAMS
{
packet_size
=
"512"
;
message_size
=
"3
1
2"
;
message_size
=
"3
5
2"
;
modelnet_order
=(
"simplenet"
);
# scheduler options
modelnet_scheduler
=
"priority"
;
...
...
tests/conf/modelnet-test-dragonfly.conf
View file @
b5b0bfa9
...
...
@@ -23,6 +23,6 @@ PARAMS
local_bandwidth
=
"5.25"
;
global_bandwidth
=
"4.7"
;
cn_bandwidth
=
"5.25"
;
message_size
=
"3
36
"
;
message_size
=
"3
52
"
;
routing
=
"nonminimal"
;
}
tests/conf/modelnet-test-loggp.conf
View file @
b5b0bfa9
...
...
@@ -9,7 +9,7 @@ LPGROUPS
}
PARAMS
{
message_size
=
"3
36
"
;
message_size
=
"3
52
"
;
modelnet_order
=(
"loggp"
);
# scheduler options
modelnet_scheduler
=
"fcfs-full"
;
...
...
tests/conf/modelnet-test-torus.conf
View file @
b5b0bfa9
...
...
@@ -14,7 +14,7 @@ PARAMS
# scheduler options
modelnet_scheduler
=
"fcfs"
;
# modelnet_scheduler="round-robin";
message_size
=
"3
36
"
;
message_size
=
"3
52
"
;
n_dims
=
"4"
;
dim_length
=
"4,2,2,2"
;
link_bandwidth
=
"2.0"
;
...
...
tests/conf/modelnet-test.conf
View file @
b5b0bfa9
...
...
@@ -10,7 +10,7 @@ LPGROUPS
PARAMS
{
packet_size
=
"512"
;
message_size
=
"3
36
"
;
message_size
=
"3
52
"
;
modelnet_order
=(
"simplenet"
);
# scheduler options
modelnet_scheduler
=
"fcfs"
;
...
...
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