Commit 97ff6e97 authored by Misbah Mubarak's avatar Misbah Mubarak Committed by Neil McGlohon

adding barrier collective tag

parent 624e03ac
......@@ -29,6 +29,7 @@
do {if (CS_LP_DBG) printf(_fmt, __VA_ARGS__);} while (0)
#define MAX_STATS 65536
#define COL_TAG 1235
#define BAR_TAG 1234
static int msg_size_hash_compare(
void *key, struct qhash_head *link);
......@@ -1568,7 +1569,7 @@ static void codes_exec_mpi_send(nw_state* s,
}
else if(priority_type == 1)
{
if(mpi_op->u.send.tag == COL_TAG)
if(mpi_op->u.send.tag == COL_TAG || mpi_op->u.send.tag == BAR_TAG)
{
strcpy(prio, "high");
}
......@@ -1822,7 +1823,7 @@ static void send_ack_back(nw_state* s, tw_bf * bf, nw_message * m, tw_lp * lp, m
}
else if(priority_type == 1)
{
if(mpi_op->tag == COL_TAG)
if(mpi_op->tag == COL_TAG || mpi_op->tag == BAR_TAG)
{
strcpy(prio, "high");
}
......
......@@ -662,6 +662,7 @@ void dragonfly_print_params(const dragonfly_param *p)
printf("\tglobal_bandwidth = %.2f\n",p->global_bandwidth);
printf("\tcn_bandwidth = %.2f\n",p->cn_bandwidth);
printf("\tnum_vcs = %d\n",p->num_vcs);
printf("\tnum_qos_levels = %d\n",p->num_qos_levels);
printf("\tlocal_vc_size = %d\n",p->local_vc_size);
printf("\tglobal_vc_size = %d\n",p->global_vc_size);
printf("\tcn_vc_size = %d\n",p->cn_vc_size);
......
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