Commit b5829577 authored by Misbah Mubarak's avatar Misbah Mubarak

handling corner case where some PEs might not generate any traffic

parent 0d822a6e
......@@ -1219,6 +1219,11 @@ void nw_test_init(nw_state* s, tw_lp* lp)
/* MM: TODO remove the condition later on once the workloads are
* configurable */
if(strcmp(workload_type, "cortex-workload") == 0)
num_net_traces = cortex_dfly_get_job_ranks(0);
lid = codes_jobmap_to_local_id(s->nw_id, jobmap_ctx);
if(lid.job == -1)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment