Commit 192c119f authored by Jonathan Jenkins's avatar Jonathan Jenkins
Browse files

bad copy paste from a while ago

parent ec9569ec
...@@ -888,7 +888,7 @@ static void node_collective_fan_in(terminal_state * s, ...@@ -888,7 +888,7 @@ static void node_collective_fan_in(terminal_state * s,
memcpy(msg_new, msg, sizeof(terminal_message)); memcpy(msg_new, msg, sizeof(terminal_message));
if (msg->remote_event_size_bytes){ if (msg->remote_event_size_bytes){
memcpy(m_data, model_net_method_get_edata(TORUS, msg), memcpy(m_data, model_net_method_get_edata(DRAGONFLY, msg),
msg->remote_event_size_bytes); msg->remote_event_size_bytes);
} }
......
...@@ -358,7 +358,7 @@ static void handle_msg_ready_event( ...@@ -358,7 +358,7 @@ static void handle_msg_ready_event(
/* schedule event to final destination for when the recv is complete */ /* schedule event to final destination for when the recv is complete */
// printf("\n Remote message to LP %d ", m->final_dest_gid); // printf("\n Remote message to LP %d ", m->final_dest_gid);
void *tmp_ptr = model_net_method_get_edata(SIMPLENET, m); void *tmp_ptr = model_net_method_get_edata(LOGGP, m);
//char* tmp_ptr = (char*)m; //char* tmp_ptr = (char*)m;
//tmp_ptr += loggp_get_msg_sz(); //tmp_ptr += loggp_get_msg_sz();
if (m->is_pull){ if (m->is_pull){
...@@ -495,7 +495,7 @@ static void handle_msg_start_event( ...@@ -495,7 +495,7 @@ static void handle_msg_start_event(
e_new = tw_event_new(m->src_gid, send_queue_time+codes_local_latency(lp), lp); e_new = tw_event_new(m->src_gid, send_queue_time+codes_local_latency(lp), lp);
m_new = tw_event_data(e_new); m_new = tw_event_data(e_new);
void * m_loc = (char*) model_net_method_get_edata(SIMPLENET, m) + void * m_loc = (char*) model_net_method_get_edata(LOGGP, m) +
m->event_size_bytes; m->event_size_bytes;
//local_event = (char*)m; //local_event = (char*)m;
//local_event += loggp_get_msg_sz() + m->event_size_bytes; //local_event += loggp_get_msg_sz() + m->event_size_bytes;
......
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