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
23c5d4c8
Commit
23c5d4c8
authored
Jan 04, 2017
by
James Willis
Browse files
Flush cache for AVX2 and AVX512 versions of the code, not just AVX.
parent
56984993
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/runner_doiact_vec.c
View file @
23c5d4c8
...
...
@@ -226,6 +226,9 @@ __attribute__((always_inline)) INLINE static void storeInteractions(
(
*
icount
)
++
;
}
}
#endif
/* defined(HAVE_AVX2) || defined(HAVE_AVX512_F) */
/* Flush the c2 cache if it has reached capacity. */
if
(
*
icount
>=
(
C2_CACHE_SIZE
-
(
NUM_VEC_PROC
*
VEC_SIZE
)))
{
...
...
@@ -254,7 +257,6 @@ __attribute__((always_inline)) INLINE static void storeInteractions(
*
icount
=
0
;
}
#endif
/* defined(HAVE_AVX2) || defined(HAVE_AVX512_F) */
}
#endif
/* WITH_VECTORIZATION */
...
...
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