# HG changeset patch # User Nina Engelhardt # Date 1334683246 -7200 # Node ID 9b1fea8d8aeba6ce09aa13edb4b1d0d6fe7de26a # Parent cfca88034000138013f425ad5e2866de7272e414 Performance debug series: fix divider bug diff -r cfca88034000 -r 9b1fea8d8aeb SSR_Matrix_Mult/Divide_Pr.c --- a/SSR_Matrix_Mult/Divide_Pr.c Tue Apr 17 19:18:57 2012 +0200 +++ b/SSR_Matrix_Mult/Divide_Pr.c Tue Apr 17 19:20:46 2012 +0200 @@ -402,7 +402,7 @@ // that each core gets the same number of vectors, with a max // imbalance of 1 vector more on some cores than others numVecOnCurrCore += 1; //incr before checking, so - } if( numVecOnCurrCore > numToPutOntoEachCore ) //actual num 1 less + if( numVecOnCurrCore > numToPutOntoEachCore ) //actual num 1 less { //deal with fractional part, to ensure that imbalance is 1 max // IE, core with most has only 1 more than core with least @@ -414,7 +414,7 @@ coreToAssignOnto += 1; if( coreToAssignOnto >= numCores ) coreToAssignOnto = 0; } //if - //for( vecIdx + } //for( vecIdx } //for( resColIdx } //for( resRowIdx