Commit abf2d6a4 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Fix for AVX-512 compilation. Use the vec_mask_and macro and not vec_and when dealing with masks.

parent a91df01d
...@@ -745,7 +745,7 @@ __attribute__((always_inline)) INLINE void runner_doself2_force_vec( ...@@ -745,7 +745,7 @@ __attribute__((always_inline)) INLINE void runner_doself2_force_vec(
vec_create_mask(v_doi_mask, vec_cmp_lt(v_r2.v, v_h2.v)); vec_create_mask(v_doi_mask, vec_cmp_lt(v_r2.v, v_h2.v));
/* Combine all 3 masks and form integer mask. */ /* Combine all 3 masks and form integer mask. */
v_doi_mask.v = vec_and(v_doi_mask.v, v_doi_mask_self_check.v); v_doi_mask.v = vec_mask_and(v_doi_mask, v_doi_mask_self_check);
doi_mask = vec_form_int_mask(v_doi_mask); doi_mask = vec_form_int_mask(v_doi_mask);
/* If there are any interactions perform them. */ /* If there are any interactions perform them. */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment