Commit eca27707 authored by Caitlin Ross's avatar Caitlin Ross

some minor changes due to ROSS API changes

parent a09c3e99
...@@ -462,7 +462,7 @@ static void codes_mapping_init(void) ...@@ -462,7 +462,7 @@ static void codes_mapping_init(void)
/* 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 */
for(kpid = 0; kpid < nkp_per_pe; kpid++) for(kpid = 0; kpid < nkp_per_pe; kpid++)
tw_kp_onpe(kpid, g_tw_pe[0]); tw_kp_onpe(kpid, g_tw_pe);
tw_lpid lp_start = tw_lpid lp_start =
g_tw_mynode * lps_per_pe_floor + mini(g_tw_mynode,lps_leftover); g_tw_mynode * lps_per_pe_floor + mini(g_tw_mynode,lps_leftover);
...@@ -474,7 +474,7 @@ static void codes_mapping_init(void) ...@@ -474,7 +474,7 @@ static void codes_mapping_init(void)
ross_gid = lpid; ross_gid = lpid;
ross_lid = lpid - lp_start; ross_lid = lpid - lp_start;
kpid = ross_lid % g_tw_nkp; kpid = ross_lid % g_tw_nkp;
pe = tw_getpe(kpid % g_tw_npe); pe = g_tw_pe;
codes_mapping_get_lp_info(ross_gid, NULL, &grp_id, lp_type_name, codes_mapping_get_lp_info(ross_gid, NULL, &grp_id, lp_type_name,
&lpt_id, NULL, &rep_id, &offset); &lpt_id, NULL, &rep_id, &offset);
#if CODES_MAPPING_DEBUG #if CODES_MAPPING_DEBUG
......
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