Skip to content
GitLab
Menu
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
d6a00a8f
Commit
d6a00a8f
authored
Oct 30, 2017
by
Matthieu Schaller
Browse files
Merge branch 'fix_pair_vec_exit_iteration' into 'master'
Fix pair vec exit iteration See merge request
!447
parents
38d4d57f
2be1c048
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/runner_doiact_vec.c
View file @
d6a00a8f
...
...
@@ -1169,7 +1169,7 @@ void runner_dopair1_density_vec(struct runner *r, struct cell *ci,
int
exit_iteration_align
=
exit_iteration
-
first_pi
;
/* Pad the exit iteration align so cache reads are aligned. */
const
int
rem
=
(
ci_cache_count
-
exit_iteration_align
)
%
VEC_SIZE
;
const
int
rem
=
exit_iteration_align
%
VEC_SIZE
;
if
(
exit_iteration_align
<
VEC_SIZE
)
{
exit_iteration_align
=
0
;
}
else
...
...
@@ -1532,7 +1532,7 @@ void runner_dopair2_force_vec(struct runner *r, struct cell *ci,
int
exit_iteration_align
=
exit_iteration
-
first_pi
;
/* Pad the exit iteration align so cache reads are aligned. */
const
int
rem
=
(
ci_cache_count
-
exit_iteration_align
)
%
VEC_SIZE
;
const
int
rem
=
exit_iteration_align
%
VEC_SIZE
;
if
(
exit_iteration_align
<
VEC_SIZE
)
{
exit_iteration_align
=
0
;
}
else
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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