Skip to content

Commit

Permalink
always use two read threads in phase 3 stage 1
Browse files Browse the repository at this point in the history
  • Loading branch information
madMAx43v3r committed Jun 5, 2021
1 parent 5638a12 commit 27ebfcb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/chia/phase3.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ void compute_stage1(int L_index, int num_threads,
R_read_7.close();
} else {
const int div = L_table ? 1 : 2;
R_sort->read(&R_read, std::max(num_threads / div, 1), 2 / div);
R_sort->read(&R_read, std::max(num_threads / div, 1));
}
});

Expand All @@ -144,7 +144,7 @@ void compute_stage1(int L_index, int num_threads,
L_read_1.close();
} else {
const int div = R_table ? 1 : 2;
L_sort->read(&L_read, std::max(num_threads / div, 1), 2 / div);
L_sort->read(&L_read, std::max(num_threads / div, 1));
}
L_read.close();
{
Expand Down

0 comments on commit 27ebfcb

Please sign in to comment.