From a1b0abf5fd299b49061afccc8a05e510200d64d2 Mon Sep 17 00:00:00 2001 From: Samuel Thibault <samuel.thibault@ens-lyon.org> Date: Sun, 12 Apr 2020 21:10:53 +0200 Subject: [PATCH] starpu: Call starpu_fxt_autostart_profiling in non-MPI case too --- runtime/starpu/control/runtime_control.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/runtime/starpu/control/runtime_control.c b/runtime/starpu/control/runtime_control.c index 5eab3b782..9e29f90f8 100644 --- a/runtime/starpu/control/runtime_control.c +++ b/runtime/starpu/control/runtime_control.c @@ -32,6 +32,10 @@ static int chameleon_starpu_init( starpu_conf_t *conf ) { int hres; +#if defined(STARPU_USE_FXT) + starpu_fxt_autostart_profiling(0); +#endif + #if defined(CHAMELEON_USE_MPI) { @@ -40,10 +44,6 @@ static int chameleon_starpu_init( starpu_conf_t *conf ) MPI_Initialized( &flag ); # endif -#if defined(STARPU_USE_FXT) - starpu_fxt_autostart_profiling(0); -#endif - # if defined(HAVE_STARPU_MPI_INIT_CONF) hres = starpu_mpi_init_conf(NULL, NULL, !flag, MPI_COMM_WORLD, conf); # else -- GitLab