Commit 112920b4 authored by Guillaume Sylvand's avatar Guillaume Sylvand

Disable profiling in timing driver instead of doing it in the runtime initialization

parent 536cf112
...@@ -122,10 +122,6 @@ int RUNTIME_init_scheduler( MORSE_context_t *morse, int ncpus, int ncudas, int n ...@@ -122,10 +122,6 @@ int RUNTIME_init_scheduler( MORSE_context_t *morse, int ncpus, int ncudas, int n
} }
#endif #endif
#if defined(HAVE_STARPU_FXT_PROFILING)
starpu_fxt_stop_profiling();
#endif
#if defined(CHAMELEON_USE_CUDA) #if defined(CHAMELEON_USE_CUDA)
starpu_cublas_init(); starpu_cublas_init();
#endif #endif
......
...@@ -602,6 +602,10 @@ main(int argc, char *argv[]) { ...@@ -602,6 +602,10 @@ main(int argc, char *argv[]) {
MORSE_Init( iparam[IPARAM_THRDNBR], MORSE_Init( iparam[IPARAM_THRDNBR],
iparam[IPARAM_NCUDAS] ); iparam[IPARAM_NCUDAS] );
/* Stops profiling here to avoid profiling uninteresting routines.
It will be reactivated in the time_*.c routines with the macro START_TIMING() */
RUNTIME_stop_profiling();
MORSE_Disable(MORSE_AUTOTUNING); MORSE_Disable(MORSE_AUTOTUNING);
MORSE_Set(MORSE_TILE_SIZE, iparam[IPARAM_NB] ); MORSE_Set(MORSE_TILE_SIZE, iparam[IPARAM_NB] );
MORSE_Set(MORSE_INNER_BLOCK_SIZE, iparam[IPARAM_IB] ); MORSE_Set(MORSE_INNER_BLOCK_SIZE, iparam[IPARAM_IB] );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment