Mentions légales du service

Skip to content
Snippets Groups Projects
Commit d04f97d1 authored by Matthieu Kuhn's avatar Matthieu Kuhn
Browse files

MPI reduction: ifdef prepro outside if statement

parent 07cf0415
No related branches found
No related tags found
1 merge request!441Added _starpu_mpi_redux_wrapup_data detection for MPI reductions
......@@ -304,14 +304,14 @@ void RUNTIME_ipiv_reducek( const RUNTIME_option_t *options,
starpu_data_handle_t nextpiv = RUNTIME_pivot_getaddr( ipiv, k, h );
starpu_data_handle_t prevpiv = RUNTIME_pivot_getaddr( ipiv, k, h-1 );
if ( h < ipiv->n ) {
#if defined(HAVE_STARPU_MPI_REDUX) && defined(CHAMELEON_USE_MPI)
#if !defined(HAVE_STARPU_MPI_REDUX_WRAPUP)
if ( h < ipiv->n ) {
starpu_mpi_redux_data_prio_tree( MPI_COMM_WORLD, nextpiv,
options->priority, 2 /* Binary tree */ );
}
#endif
#endif
}
/* Invalidate the previous pivot structure for correct initialization in later reuse */
if ( h > 0 ) {
......
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