Commit ac356749 authored by Misbah Mubarak's avatar Misbah Mubarak
Browse files

Making the number of kps in codes mapping configurable

parent 9c0d9ec1
...@@ -165,7 +165,7 @@ void codes_mapping_init(void) ...@@ -165,7 +165,7 @@ void codes_mapping_init(void)
tw_pe * pe; tw_pe * pe;
char lp_type_name[MAX_NAME_LENGTH]; char lp_type_name[MAX_NAME_LENGTH];
char grp_name[MAX_NAME_LENGTH]; char grp_name[MAX_NAME_LENGTH];
int nkp_per_pe = 16; int nkp_per_pe = g_tw_nkp;
tw_lpid lpid, kpid; tw_lpid lpid, kpid;
/* have 16 kps per pe, this is the optimized configuration for ROSS custom mapping */ /* have 16 kps per pe, this is the optimized configuration for ROSS custom mapping */
......
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