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
Dominik Mehlich
waLBerla
Commits
607a25a1
Commit
607a25a1
authored
Aug 30, 2019
by
Sebastian Eibl
Browse files
added kernel measurement AssocToBlock
parent
0d073852
Changes
1
Hide whitespace changes
Inline
Side-by-side
apps/benchmarks/GranularGas/MESA_PD_KernelLoadBalancing.cpp
View file @
607a25a1
...
...
@@ -258,6 +258,14 @@ int main( int argc, char ** argv )
WcTimingPool
tpImbalanced
;
WcTimingPool
tpBalanced
;
WALBERLA_MPI_BARRIER
();
tpImbalanced
[
"AssocToBlock"
].
start
();
for
(
int64_t
i
=
0
;
i
<
params
.
simulationSteps
;
++
i
)
{
ps
->
forEachParticle
(
true
,
kernel
::
SelectLocal
(),
accessor
,
assoc
,
accessor
);
}
tpImbalanced
[
"AssocToBlock"
].
end
();
WALBERLA_MPI_BARRIER
();
tpImbalanced
[
"GenerateLinkedCells"
].
start
();
for
(
int64_t
i
=
0
;
i
<
params
.
simulationSteps
;
++
i
)
...
...
@@ -358,6 +366,14 @@ int main( int argc, char ** argv )
sortParticleStorage
(
*
ps
,
params
.
sorting
,
lc
->
domain_
,
uint_c
(
lc
->
numCellsPerDim_
[
0
]));
}
WALBERLA_MPI_BARRIER
();
tpBalanced
[
"AssocToBlock"
].
start
();
for
(
int64_t
i
=
0
;
i
<
params
.
simulationSteps
;
++
i
)
{
ps
->
forEachParticle
(
true
,
kernel
::
SelectLocal
(),
accessor
,
assoc
,
accessor
);
}
tpBalanced
[
"AssocToBlock"
].
end
();
WALBERLA_MPI_BARRIER
();
tpBalanced
[
"GenerateLinkedCells"
].
start
();
for
(
int64_t
i
=
0
;
i
<
params
.
simulationSteps
;
++
i
)
...
...
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