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
1b2810b6
Commit
1b2810b6
authored
Jun 29, 2018
by
Misbah Mubarak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removing VC reset (not tested at the moment)
parent
023bdbe2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
16 deletions
+17
-16
src/networks/model-net/dragonfly-custom.C
src/networks/model-net/dragonfly-custom.C
+17
-16
No files found.
src/networks/model-net/dragonfly-custom.C
View file @
1b2810b6
...
...
@@ -3287,23 +3287,24 @@ if(cur_chunk->msg.path_type == NON_MINIMAL)
output_chan
=
0
;
if
(
output_port
<
s
->
params
->
intra_grp_radix
)
{
if
(
DF_DALLY
==
1
)
{
if
(
cur_chunk
->
msg
.
my_g_hop
==
1
)
{
output_chan
=
1
;
}
else
if
(
cur_chunk
->
msg
.
my_g_hop
==
2
)
{
output_chan
=
3
;
}
}
else
{
output_chan
=
msg
->
my_l_hop
;
// if(DF_DALLY == 1)
// {
// if(cur_chunk->msg.my_g_hop == 1 && cur_chunk->msg.last_hop == GLOBAL) {
// output_chan = 1;
// } else if (cur_chunk->msg.my_g_hop == 2) {
// output_chan = 3;
// }
// }
//else {
/* TODO: Recheck VC count after things are in order for a 2-D dragonfly. */
if
(
cur_chunk
->
msg
.
my_g_hop
==
1
)
{
output_chan
=
2
;
}
else
if
(
cur_chunk
->
msg
.
my_g_hop
==
2
)
{
output_chan
=
6
;
}
}
// if(cur_chunk->msg.my_g_hop == 1 && cur_chunk->msg.last_hop == GLOBAL
) {
//
output_chan = 2;
//
}
// else if (cur_chunk->msg.my_g_hop == 2 && cur_chunk->msg.last_hop == GLOBAL
) {
//
output_chan = 6;
//
}
//
}
max_vc_size
=
s
->
params
->
local_vc_size
;
cur_chunk
->
msg
.
my_l_hop
++
;
}
else
if
(
output_port
<
(
s
->
params
->
intra_grp_radix
+
...
...
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