Skip to content

Commit

Permalink
Check if this affected the performance
Browse files Browse the repository at this point in the history
  • Loading branch information
Dtenwolde committed Jan 7, 2025
1 parent b65732f commit 8da6c9f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/core/operator/task/iterative_length_task.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,7 @@ bool IterativeLengthTask::SetTaskRange() {
if (next[i].any()) {
next[i] &= ~seen[i];
seen[i] |= next[i];
std::lock_guard<std::mutex> lock(state->change_lock);
change = true;
change |= next[i].any();
}
}
has_tasks = SetTaskRange();
Expand Down

0 comments on commit 8da6c9f

Please sign in to comment.