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
17621843
Commit
17621843
authored
Mar 02, 2017
by
James Willis
Browse files
Initialise each runner's ci and cj cache.
parent
4aeeb629
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/test27cells.c
View file @
17621843
...
...
@@ -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 */
...
...
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