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

Merge branch 'avx512-fix' into 'master'

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

I had to do this to be able to compile on the AVX512 system. Does this correction make sense to you ?

See merge request !416
parents a91df01d 734e369e
...@@ -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 = 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