Mentions légales du service

Skip to content
Snippets Groups Projects
Commit c9ef1175 authored by Mathieu Faverge's avatar Mathieu Faverge
Browse files

Propose a second more complete patch to Fix #38

parent 137a3f52
No related branches found
No related tags found
1 merge request!52Propose a second more complete patch to Fix #38
......@@ -42,7 +42,10 @@
#cmakedefine CHAMELEON_USE_CUBLAS
#cmakedefine CHAMELEON_USE_CUBLAS_V2
/* Simulating */
/* Simulation */
#cmakedefine CHAMELEON_SIMULATION
/* Tracing support */
#cmakedefine CHAMELEON_ENABLE_TRACING
#endif /* CHAMELEON_CONFIG_H_HAS_BEEN_INCLUDED */
......@@ -52,13 +52,8 @@ int RUNTIME_rank (MORSE_context_t*);
int RUNTIME_init_scheduler (MORSE_context_t*, int, int, int);
void RUNTIME_finalize_scheduler (MORSE_context_t*);
void RUNTIME_barrier (MORSE_context_t*);
#ifdef CHAMELEON_ENABLE_TRACING
void RUNTIME_iteration_push (MORSE_context_t*, unsigned long iteration);
void RUNTIME_iteration_pop (MORSE_context_t*);
#else
#define RUNTIME_iteration_push(c,i) ((void)0)
#define RUNTIME_iteration_pop(c) ((void)0)
#endif
void RUNTIME_pause (MORSE_context_t*);
void RUNTIME_resume (MORSE_context_t*);
void RUNTIME_comm_rank (int*);
......
......@@ -70,10 +70,9 @@ void RUNTIME_barrier(MORSE_context_t *morse)
/*******************************************************************************
* Set iteration numbers for traces
**/
#ifdef CHAMELEON_ENABLE_TRACING
void RUNTIME_iteration_push( MORSE_context_t *morse, unsigned long iteration )
{
(void)morse;
(void)morse; (void)iteration;
return;
}
void RUNTIME_iteration_pop( MORSE_context_t *morse )
......@@ -81,7 +80,6 @@ void RUNTIME_iteration_pop( MORSE_context_t *morse )
(void)morse;
return;
}
#endif
/*******************************************************************************
* To suspend the processing of new tasks by workers
......
......@@ -71,10 +71,9 @@ void RUNTIME_finalize_scheduler(MORSE_context_t *morse)
/*******************************************************************************
* Set iteration numbers for traces
**/
#ifdef CHAMELEON_ENABLE_TRACING
void RUNTIME_iteration_push( MORSE_context_t *morse, unsigned long iteration )
{
(void)morse;
(void)morse; (void)iteration;
return;
}
void RUNTIME_iteration_pop( MORSE_context_t *morse )
......@@ -82,7 +81,6 @@ void RUNTIME_iteration_pop( MORSE_context_t *morse )
(void)morse;
return;
}
#endif
/*******************************************************************************
* To suspend the processing of new tasks by workers
......
......@@ -172,7 +172,6 @@ void RUNTIME_barrier( MORSE_context_t *morse )
/*******************************************************************************
* Set iteration numbers for traces
**/
#ifdef CHAMELEON_ENABLE_TRACING
void RUNTIME_iteration_push( MORSE_context_t *morse, unsigned long iteration )
{
(void)morse;
......@@ -180,6 +179,7 @@ void RUNTIME_iteration_push( MORSE_context_t *morse, unsigned long iteration )
starpu_iteration_push(iteration);
#endif
}
void RUNTIME_iteration_pop( MORSE_context_t *morse )
{
(void)morse;
......@@ -187,7 +187,6 @@ void RUNTIME_iteration_pop( MORSE_context_t *morse )
starpu_iteration_pop();
#endif
}
#endif
/*******************************************************************************
* To suspend the processing of new tasks by workers
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment