Extension: ExBLAS
#include "dg/algorithm.h" (or as a standalone library as "dg/exblas/exblas.h")
mpi_accumulate.h File Reference

Primitives for an MPI Reduction. More...

#include <mpi.h>
#include <array>
#include <vector>
#include <map>
#include "accumulate.h"
Include dependency graph for mpi_accumulate.h:

Go to the source code of this file.

Namespaces

namespace  dg::exblas
 This is the namespace for all functions and classes defined and used in the exblas library.
 

Functions

static void dg::exblas::mpi_reduce_communicator (MPI_Comm comm, MPI_Comm *comm_mod, MPI_Comm *comm_mod_reduce)
 This function can be used to partition communicators for the exblas::reduce_mpi_cpu function. More...
 
static void dg::exblas::reduce_mpi_cpu (unsigned num_superacc, int64_t *in, int64_t *out, MPI_Comm comm, MPI_Comm comm_mod, MPI_Comm comm_mod_reduce)
 reduce a number of superaccumulators distributed among mpi processes More...
 

Detailed Description

Primitives for an MPI Reduction.

Authors
Matthias Wiesenberger – mattw.nosp@m.i@fy.nosp@m.sik.d.nosp@m.tu.d.nosp@m.k