Commit 1b2810b6 authored by Misbah Mubarak's avatar Misbah Mubarak

removing VC reset (not tested at the moment)

parent 023bdbe2
...@@ -3287,23 +3287,24 @@ if(cur_chunk->msg.path_type == NON_MINIMAL) ...@@ -3287,23 +3287,24 @@ if(cur_chunk->msg.path_type == NON_MINIMAL)
output_chan = 0; output_chan = 0;
if(output_port < s->params->intra_grp_radix) { if(output_port < s->params->intra_grp_radix) {
if(DF_DALLY == 1) output_chan = msg->my_l_hop;
{ // if(DF_DALLY == 1)
if(cur_chunk->msg.my_g_hop == 1) { // {
output_chan = 1; // if(cur_chunk->msg.my_g_hop == 1 && cur_chunk->msg.last_hop == GLOBAL) {
} else if (cur_chunk->msg.my_g_hop == 2) { // output_chan = 1;
output_chan = 3; // } else if (cur_chunk->msg.my_g_hop == 2) {
} // output_chan = 3;
} // }
else { // }
//else {
/* TODO: Recheck VC count after things are in order for a 2-D dragonfly. */ /* TODO: Recheck VC count after things are in order for a 2-D dragonfly. */
if(cur_chunk->msg.my_g_hop == 1) { // if(cur_chunk->msg.my_g_hop == 1 && cur_chunk->msg.last_hop == GLOBAL) {
output_chan = 2; // output_chan = 2;
} // }
else if (cur_chunk->msg.my_g_hop == 2) { // else if (cur_chunk->msg.my_g_hop == 2 && cur_chunk->msg.last_hop == GLOBAL) {
output_chan = 6; // output_chan = 6;
} //}
} //}
max_vc_size = s->params->local_vc_size; max_vc_size = s->params->local_vc_size;
cur_chunk->msg.my_l_hop++; cur_chunk->msg.my_l_hop++;
} else if(output_port < (s->params->intra_grp_radix + } else if(output_port < (s->params->intra_grp_radix +
......
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