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
54448de7
Commit
54448de7
authored
Jun 05, 2013
by
Pedro Gonnet
Browse files
don't use cell mapping for kick1.
Former-commit-id: 829fa520f7740d61a0b3b18399a6418f415a1068
parent
80082f66
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/engine.c
View file @
54448de7
...
...
@@ -495,7 +495,20 @@ void engine_step ( struct engine *e , int sort_queues ) {
/* First kick. */
TIMER_TIC
space_map_cells_post
(
e
->
s
,
1
,
&
engine_map_kick_first
,
e
);
// space_map_cells_post( e->s , 1 , &engine_map_kick_first , e );
k
=
0
;
#pragma omp parallel shared(k,e)
{
int
myk
;
while
(
1
)
{
#pragma omp critical
myk
=
k
++
;
if
(
myk
<
e
->
s
->
nr_cells
)
engine_map_kick_first
(
&
e
->
s
->
cells
[
myk
]
,
e
);
else
break
;
}
}
TIMER_TOC
(
timer_kick1
);
// for(k=0; k<10; ++k)
...
...
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