Skip to content
Snippets Groups Projects
Commit 734e369e authored by James Willis's avatar James Willis
Browse files

Minor correction for AVX512. Don't access vector of mask struct.

parent abf2d6a4
No related branches found
No related tags found
1 merge request!416Fix for AVX-512 compilation. Use the vec_mask_and macro and not vec_and when dealing with masks.
......@@ -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));
/* Combine all 3 masks and form integer mask. */
v_doi_mask.v = vec_mask_and(v_doi_mask, v_doi_mask_self_check);
v_doi_mask = vec_mask_and(v_doi_mask, v_doi_mask_self_check);
doi_mask = vec_form_int_mask(v_doi_mask);
/* If there are any interactions perform them. */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment