Skip to content

Commit 0870e1e

Browse files
sterrettm2r-devulap
authored andcommitted
Fixed build issues and missing function for AVX512FP16 vector type
1 parent 0041c05 commit 0870e1e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/avx512fp16-16bit-qsort.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ struct zmm_vector<_Float16> {
5555
{
5656
return _mm512_cmp_ph_mask(x, y, _CMP_GE_OQ);
5757
}
58+
static opmask_t eq(reg_t x, reg_t y)
59+
{
60+
return _mm512_cmp_ph_mask(x, y, _CMP_EQ_OQ);
61+
}
5862
static opmask_t get_partial_loadmask(uint64_t num_to_read)
5963
{
6064
return ((0x1ull << num_to_read) - 0x1ull);

src/xss-pivot-selection.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ type_t next_value(type_t value){
3737
template <typename vtype, typename mm_t>
3838
X86_SIMD_SORT_INLINE void COEX(mm_t &a, mm_t &b);
3939

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

4343
template <typename vtype, typename type_t>

0 commit comments

Comments
 (0)