Commit 17621843 authored by James Willis's avatar James Willis
Browse files

Initialise each runner's ci and cj cache.

parent 4aeeb629
......@@ -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 */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment