Skip to content

Commit

Permalink
Switch scheduling to static
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-steinegger authored Apr 30, 2023
1 parent 20d3afc commit bdd169b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/prefiltering/ungappedprefilter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ int ungappedprefilter(int argc, const char **argv, const Command &command) {
}else{
aligner.ssw_init(&qSeq, tinySubMat, subMat);
}
#pragma omp for schedule(dynamic, 1) nowait
#pragma omp for schedule(static) nowait
for (size_t tId = 0; tId < tdbr->getSize(); tId++) {
unsigned int targetKey = tdbr->getDbKey(tId);
const bool isIdentity = (queryKey == targetKey && (par.includeIdentity || sameDB))? true : false;
Expand Down

0 comments on commit bdd169b

Please sign in to comment.