Commit c2ba8ef7 authored by Misbah Mubarak's avatar Misbah Mubarak

Merge branch 'nikhil/bugfix-aug23' into 'master'

Bug fixes in on-node and 2level-ftree

See merge request !57
parents 84bd42a0 99b156fd
......@@ -817,7 +817,7 @@ static void fattree_read_config(const char * anno, fattree_param *p){
p->l0_term_size = (p->tapering_ratio - 1)*(p->switch_radix[0]/p->tapering_ratio);
if(p->num_levels == 2) {
p->num_switches[1] = p->num_switches[0]/p->tapering_ratio/2;
p->num_switches[1] = p->num_switches[0]/p->tapering_ratio;
p->switch_radix[1] = p->switch_radix[0];
p->l1_set_size = p->num_switches[1];
p->l1_term_size = num_terminals;
......
......@@ -645,7 +645,7 @@ void handle_new_msg(
exp_time += r->msg_size * codes_cn_delay;
exp_time -= tw_now(lp);
tw_stime delay = codes_local_latency(lp);
ns->node_copy_next_available_time[queue] = exp_time;
ns->node_copy_next_available_time[queue] = tw_now(lp) + exp_time;
int remote_event_size = r->remote_event_size;
int self_event_size = r->self_event_size;
void *e_msg = (m+1);
......
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