Skip to content

Commit cffafff

Browse files
author
Raghuveer Devulapalli
committed
change unroll partition factor
1 parent a0f93fb commit cffafff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/avx2-64bit-qsort.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ struct avx2_vector<int64_t> {
6060
#else
6161
static constexpr int network_sort_threshold = 64;
6262
#endif
63-
static constexpr int partition_unroll_factor = 4;
63+
static constexpr int partition_unroll_factor = 8;
6464

6565
using swizzle_ops = avx2_64bit_swizzle_ops;
6666

@@ -224,7 +224,7 @@ struct avx2_vector<uint64_t> {
224224
#else
225225
static constexpr int network_sort_threshold = 64;
226226
#endif
227-
static constexpr int partition_unroll_factor = 4;
227+
static constexpr int partition_unroll_factor = 8;
228228

229229
using swizzle_ops = avx2_64bit_swizzle_ops;
230230

@@ -387,7 +387,7 @@ struct avx2_vector<double> {
387387
#else
388388
static constexpr int network_sort_threshold = 64;
389389
#endif
390-
static constexpr int partition_unroll_factor = 4;
390+
static constexpr int partition_unroll_factor = 8;
391391

392392
using swizzle_ops = avx2_64bit_swizzle_ops;
393393

0 commit comments

Comments
 (0)