Skip to content

Commit

Permalink
Fix AVX512 compilation with GCC 7 (#1438)
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumekln authored Aug 28, 2023
1 parent a7b2c38 commit ffe6bcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cpu/vec_avx512.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ namespace ctranslate2 {
}

static inline mask_type lt(value_type a, value_type b) {
return _mm512_cmplt_ps_mask(a, b);
return _mm512_cmp_ps_mask(a, b, _CMP_LT_OS);
}

static inline value_type select(mask_type mask, value_type a, value_type b) {
Expand Down

0 comments on commit ffe6bcb

Please sign in to comment.