Medial Code Documentation
Loading...
Searching...
No Matches
Data Structures | Namespaces | Macros | Functions | Variables
engine_mpi.cc File Reference

this file gives an implementation of engine interface using MPI, this will allow rabit program to run with MPI, but do not comes with fault tolerant More...

#include <mpi.h>
#include <rabit/base.h>
#include <cstdio>
#include <string>
#include "rabit/internal/engine.h"
#include "rabit/internal/utils.h"

Data Structures

class  rabit::engine::MPIEngine
 implementation of engine using MPI More...
 

Namespaces

namespace  rabit
 namespace of rabit
 
namespace  rabit::engine
 core interface of the engine
 

Functions

bool rabit::engine::Init (int argc, char *argv[])
 initializes the engine module
 
bool rabit::engine::Finalize ()
 finalizes the engine module
 
IEnginerabit::engine::GetEngine ()
 singleton method to get engine
 
MPI::Datatype rabit::engine::GetType (mpi::DataType dtype)
 
MPI::Op rabit::engine::GetOp (mpi::OpType otype)
 
void rabit::engine::Allreduce_ (void *sendrecvbuf, size_t type_nbytes, size_t count, IEngine::ReduceFunction red, mpi::DataType dtype, mpi::OpType op, IEngine::PreprocFunction prepare_fun=nullptr, void *prepare_arg=nullptr)
 perform in-place Allreduce, on sendrecvbuf this is an internal function used by rabit to be able to compile with MPI do not use this function directly
 

Variables

MPIEngine rabit::engine::manager
 

Detailed Description

this file gives an implementation of engine interface using MPI, this will allow rabit program to run with MPI, but do not comes with fault tolerant

Copyright (c) 2014 by Contributors

Author
Tianqi Chen