Galois
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Network.h File Reference

Contains the network interface class which is the base class for all network layer implementations. More...

#include "galois/runtime/Serialize.h"
#include "galois/runtime/MemUsage.h"
#include "galois/substrate/Barrier.h"
#include <mpi.h>
#include <cstdint>
#include <optional>
#include <tuple>

Go to the source code of this file.

Classes

class  galois::runtime::NetworkInterface
 A class that defines functions that a network interface in Galois should have. More...
 

Namespaces

 galois::runtime
 Internal Galois functionality - Use at your own risk.
 

Typedefs

using galois::runtime::SendBuffer = SerializeBuffer
 typedef for buffer that stores data to be sent out More...
 
using galois::runtime::RecvBuffer = DeSerializeBuffer
 typedef for buffer that received data is saved into More...
 

Functions

NetworkInterfacegalois::runtime::getSystemNetworkInterface ()
 Get the network interface. More...
 
uint32_t galois::runtime::getHostID ()
 Gets this host's ID. More...
 
NetworkInterfacegalois::runtime::makeNetworkBuffered ()
 Returns a BufferedNetwork interface. More...
 
NetworkInterface & galois::runtime::makeNetworkLCI ()
 Returns a LCINetwork interface. More...
 
substrate::Barrier & galois::runtime::getHostBarrier ()
 Returns a host barrier, which is a regular MPI-Like Barrier for all hosts. More...
 
substrate::Barrier & galois::runtime::getHostFence ()
 Returns a fence that ensures all pending messages are delivered, acting like a memory-barrier. More...
 

Variables

uint32_t galois::runtime::evilPhase = 1
 Variable that keeps track of which network send/recv phase a program is currently on. More...
 

Detailed Description

Contains the network interface class which is the base class for all network layer implementations.