Skip to content
Snippets Groups Projects
Commit 17621843 authored by James Willis's avatar James Willis
Browse files

Initialise each runner's ci and cj cache.

parent 4aeeb629
Branches
Tags
1 merge request!320Dopair1 vectorisation merge
......@@ -480,10 +480,12 @@ int main(int argc, char *argv[]) {
#if !(defined(MINIMAL_SPH) && defined(WITH_VECTORIZATION))
#ifdef WITH_VECTORIZATION
runner.par_cache.count = 0;
cache_init(&runner.par_cache, 512);
cj_cache.count = 0;
cache_init(&cj_cache, 512);
runner.ci_cache.count = 0;
cache_init(&runner.ci_cache, 512);
runner.cj_cache.count = 0;
cache_init(&runner.cj_cache, 512);
//cj_cache.count = 0;
//cache_init(&cj_cache, 512);
#endif
/* Run all the pairs */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment