Skip to content

Commit

Permalink
fix createclusearchdb ordering issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Woosub-Kim committed Aug 22, 2024
1 parent 8ef39f4 commit b59ad53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/createclusterdb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ int createclusearchdb(int argc, const char **argv, const Command& command) {
#ifdef OPENMP
thread_idx = static_cast<unsigned int>(omp_get_thread_num());
#endif
#pragma omp for schedule(dynamic, 1)
#pragma omp for schedule(static)
for (size_t id = 0; id < clusterReader.getSize(); id++) {
progress.updateProgress();
char *data = clusterReader.getData(id, thread_idx);
Expand Down

0 comments on commit b59ad53

Please sign in to comment.