Skip to content

Commit

Permalink
🐛 select suitable chunk size for populating edges
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfram77 committed Jan 25, 2025
1 parent 7a2bd05 commit 3eaf351
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/duplicate.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ inline void duplicateArenaOmpW(H& a, const G& x) {
}
auto t3 = timeNow();
// Populate the edges.
#pragma omp parallel for schedule(dynamic, 2048)
#pragma omp parallel for schedule(dynamic, 1024)
for (K u=0; u<S; ++u) {
if (!x.hasVertex(u)) continue;
x.forEachEdge(u, [&](auto v, auto w) {
Expand Down

0 comments on commit 3eaf351

Please sign in to comment.