GitLab maintenance scheduled for Today, 2019-12-05, from 17:00 to 18:00 CT - Services will be unavailable during this time.

Commit 471230b8 authored by Neil McGlohon's avatar Neil McGlohon

Dragonfly Custom: Added Num VCs Override Config

parent e3cd292f
......@@ -577,10 +577,16 @@ static void dragonfly_read_config(const char * anno, dragonfly_param *params){
routing = -1;
}
if(routing == PROG_ADAPTIVE)
p->num_vcs = 10;
else
p->num_vcs = 8;
rc = configuration_get_value_int(&config, "PARAMS", "num_vcs_override", anno, &p->num_vcs);
if(rc) {
if(routing == PROG_ADAPTIVE)
p->num_vcs = 10;
else
p->num_vcs = 8;
}
else {
printf("Overriding num_vcs: p->num_vcs=%d\n"%p->num_vcs);
}
rc = configuration_get_value_int(&config, "PARAMS", "num_groups", anno, &p->num_groups);
if(rc) {
......
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