Skip to content

Commit

Permalink
Merge pull request #341 from jonnygiger/340-fiss-chunk-size
Browse files Browse the repository at this point in the history
[DAPHNE-340] Fix FISS chunk size calculation
  • Loading branch information
Ahmed Eleliemy authored Apr 26, 2022
2 parents c31a4e9 + 5033ef8 commit ed74e08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/runtime/local/vectorized/LoadPartitioning.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class LoadPartitioning {
int scheduled=0;
int step=0;
while (scheduled < tasks){
int actual_step=step/workers;
actual_step=step/workers;
double chunk = pow(0.5,actual_step+1)*tasks/float(workers);
scheduled+=ceil(chunk);
step+=1;
Expand Down Expand Up @@ -140,7 +140,7 @@ class LoadPartitioning {
//TODO
break;
}
case MFSC:{//modifed fixed self-scheduling (MFSC)
case MFSC:{//modifed fixed-size chunk self-scheduling (MFSC)
chunkSize=mfscChunk;
break;
}
Expand Down

0 comments on commit ed74e08

Please sign in to comment.