Skip to content
Snippets Groups Projects
Commit a79788d3 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Merge branch 'particle-caching' of gitlab.cosma.dur.ac.uk:swift/swiftsim into particle-caching

parents 8a9e437b 23c5d4c8
Branches
Tags
1 merge request!287Particle caching
......@@ -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 */
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment