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
05943c2b
Commit
05943c2b
authored
Jul 26, 2017
by
Pedro Gonnet
Browse files
use the new default chunk size.
parent
3984768d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/space.c
View file @
05943c2b
...
...
@@ -970,7 +970,7 @@ void space_split(struct space *s, struct cell *cells, int nr_cells,
const
ticks
tic
=
getticks
();
threadpool_map
(
&
s
->
e
->
threadpool
,
space_split_mapper
,
cells
,
nr_cells
,
sizeof
(
struct
cell
),
1
,
s
);
sizeof
(
struct
cell
),
0
,
s
);
if
(
verbose
)
message
(
"took %.3f %s."
,
clocks_from_ticks
(
getticks
()
-
tic
),
...
...
@@ -1187,7 +1187,7 @@ void space_parts_get_cell_index(struct space *s, int *ind, struct cell *cells,
data
.
ind
=
ind
;
threadpool_map
(
&
s
->
e
->
threadpool
,
space_parts_get_cell_index_mapper
,
s
->
parts
,
s
->
nr_parts
,
sizeof
(
struct
part
),
100
0
,
&
data
);
s
->
nr_parts
,
sizeof
(
struct
part
),
0
,
&
data
);
if
(
verbose
)
message
(
"took %.3f %s."
,
clocks_from_ticks
(
getticks
()
-
tic
),
...
...
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