Skip to content

Commit

Permalink
Fixed build issues and missing function for AVX512FP16 vector type
Browse files Browse the repository at this point in the history
  • Loading branch information
sterrettm2 committed Jan 31, 2024
1 parent afa4037 commit b45708a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/avx512fp16-16bit-qsort.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ struct zmm_vector<_Float16> {
{
return _mm512_cmp_ph_mask(x, y, _CMP_GE_OQ);
}
static opmask_t eq(reg_t x, reg_t y)
{
return _mm512_cmp_ph_mask(x, y, _CMP_EQ_OQ);
}
static opmask_t get_partial_loadmask(uint64_t num_to_read)
{
return ((0x1ull << num_to_read) - 0x1ull);
Expand Down
2 changes: 1 addition & 1 deletion src/xss-pivot-selection.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ type_t next_value(type_t value){
template <typename vtype, typename mm_t>
X86_SIMD_SORT_INLINE void COEX(mm_t &a, mm_t &b);

template <typename vtype, typename T = typename vtype::type_t>
template <typename vtype, typename T>
X86_SIMD_SORT_INLINE bool comparison_func(const T &a, const T &b);

template <typename vtype, typename type_t>
Expand Down

0 comments on commit b45708a

Please sign in to comment.