Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
solverstack
ScalFMM
Commits
1389e572
Commit
1389e572
authored
Apr 07, 2016
by
Samuel Pitoiset
Browse files
GroupTree: fix start/stop profiling with KStar
parent
0ca57a40
Changes
1
Hide whitespace changes
Inline
Side-by-side
Tests/GroupTree/testBlockedUniformCompare.cpp
View file @
1389e572
...
...
@@ -64,12 +64,6 @@
#include
<sys/resource.h>
#endif
#ifdef OPENMP_SUPPORT_TASKNAME
// The taskname() clause is only supported by KSTAR. Make sure to set it from
// CMake to enable tracing.
#define STARPU_USE_KSTAR
#endif
#define RANDOM_PARTICLES
const
FParameterNames
LocalOrder
{
{
"-order"
},
"Order of the kernel"
};
...
...
@@ -674,13 +668,15 @@ struct RunContainer{
FBinding
::
BindThreadToAnyProcs
();
std
::
cout
<<
"And now I am bind to "
<<
(
FBinding
::
GetThreadBinding
())
<<
std
::
endl
;
#if defined(SCALFMM_USE_STARPU) || defined(SCALFMM_USE_KSTAR)
#if defined(SCALFMM_USE_STARPU) || defined(OPENMP_SUPPORT_TASK_NAME)
// The taskname() clause is only supported by KSTAR. Make sure
// to set it from CMake to enable tracing.
starpu_fxt_start_profiling
();
#endif
timer
.
tic
();
groupalgo
.
execute
();
timer
.
tac
();
#if defined(SCALFMM_USE_STARPU) || defined(
SCALFMM_USE_KSTAR
)
#if defined(SCALFMM_USE_STARPU) || defined(
OPENMP_SUPPORT_TASK_NAME
)
starpu_fxt_stop_profiling
();
#endif
std
::
cout
<<
"Done "
<<
"(@Algorithm = "
<<
timer
.
elapsed
()
<<
"s)."
<<
std
::
endl
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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