Skip to content

Commit

Permalink
Use num_unroll = 9 for 16-bit data
Browse files Browse the repository at this point in the history
  • Loading branch information
r-devulap committed Oct 12, 2023
1 parent ed651eb commit 01f0f02
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/avx512-16bit-qsort.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ struct zmm_vector<float16> {
#else
static constexpr int network_sort_threshold = 512;
#endif
static constexpr int partition_unroll_factor = 0;
static constexpr int partition_unroll_factor = 8;

using swizzle_ops = avx512_16bit_swizzle_ops;

Expand Down Expand Up @@ -191,7 +191,7 @@ struct zmm_vector<int16_t> {
#else
static constexpr int network_sort_threshold = 512;
#endif
static constexpr int partition_unroll_factor = 0;
static constexpr int partition_unroll_factor = 8;

using swizzle_ops = avx512_16bit_swizzle_ops;

Expand Down Expand Up @@ -314,7 +314,7 @@ struct zmm_vector<uint16_t> {
#else
static constexpr int network_sort_threshold = 512;
#endif
static constexpr int partition_unroll_factor = 0;
static constexpr int partition_unroll_factor = 8;

using swizzle_ops = avx512_16bit_swizzle_ops;

Expand Down

0 comments on commit 01f0f02

Please sign in to comment.