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
...@@ -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_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); 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