Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
abf2d6a4
Commit
abf2d6a4
authored
Sep 01, 2017
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/runner_doiact_vec.c
View file @
abf2d6a4
...
...
@@ -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_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
);
/* If there are any interactions perform them. */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment