Skip to content

Commit

Permalink
Disable use of Levelized Cuts in external sorter
Browse files Browse the repository at this point in the history
  • Loading branch information
SSoelvsten committed Jul 1, 2024
1 parent d9b7211 commit 451dfa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/adiar/internal/data_structures/sorter.h
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ namespace adiar::internal
const tpie::memory_size_type maximum_phase1 = (memory_bytes >> 4) / (number_of_sorters - 1);

const tpie::memory_size_type phase1 =
std::max(minimum_phase1, std::min(maximum_phase1, no_elements_memory));
std::max(minimum_phase1, maximum_phase1);

// -----------------------------------------------------------------------
// Phase 3 : Top-most and final merging of partial lists.
Expand Down

0 comments on commit 451dfa8

Please sign in to comment.