UMPIRE
Umpire: resource management and provision
umpire::strategy Namespace Reference

Namespaces

 mixins
 

Classes

class  AlignedAllocator
 
class  AllocationAdvisor
 Applies the given MemoryOperation to every allocation. More...
 
class  AllocationPrefetcher
 Apply the appropriate "PREFETCH" operation to every allocation. More...
 
class  AllocationStrategy
 AllocationStrategy provides a unified interface to all classes that can be used to allocate and free data. More...
 
class  DeviceIpcAllocator
 
class  DynamicPoolList
 Simple dynamic pool for allocations. More...
 
class  FixedPool
 Pool for fixed size allocations. More...
 
class  MixedPool
 A faster pool that pulls from a series of pools. More...
 
class  MonotonicAllocationStrategy
 
class  NamedAllocationStrategy
 
class  NamingShim
 
class  NumaPolicy
 Use NUMA interface to locate memory to a specific NUMA node. More...
 
class  QuickPool
 
class  ResourceAwarePool
 
class  SizeLimiter
 An allocator with a limited total size. More...
 
class  SlotPool
 
class  ThreadSafeAllocator
 Make an Allocator thread safe. More...
 

Typedefs

template<typename T >
using PoolCoalesceHeuristic = std::function< std::size_t(const T &)>
 

Functions

std::ostream & operator<< (std::ostream &os, const AllocationStrategy &strategy)
 
std::ostream & operator<< (std::ostream &out, PoolCoalesceHeuristic< DynamicPoolList > &)
 
std::string to_string (PoolCoalesceHeuristic< DynamicPoolList > &)
 
std::ostream & operator<< (std::ostream &out, umpire::strategy::PoolCoalesceHeuristic< QuickPool > &)
 
std::string to_string (PoolCoalesceHeuristic< QuickPool > &)
 
std::ostream & operator<< (std::ostream &out, umpire::strategy::PoolCoalesceHeuristic< ResourceAwarePool > &)
 
std::string to_string (PoolCoalesceHeuristic< ResourceAwarePool > &)
 

Variables

static constexpr std::size_t bits_per_int = sizeof(int) * 8
 

Typedef Documentation

◆ PoolCoalesceHeuristic

template<typename T >
using umpire::strategy::PoolCoalesceHeuristic = typedef std::function<std::size_t(const T&)>

Function Documentation

◆ operator<<() [1/4]

std::ostream& umpire::strategy::operator<< ( std::ostream &  os,
const AllocationStrategy strategy 
)

◆ operator<<() [2/4]

std::ostream & umpire::strategy::operator<< ( std::ostream &  out,
PoolCoalesceHeuristic< DynamicPoolList > &   
)

◆ to_string() [1/3]

std::string umpire::strategy::to_string ( PoolCoalesceHeuristic< DynamicPoolList > &  )
inline

◆ operator<<() [3/4]

std::ostream & umpire::strategy::operator<< ( std::ostream &  out,
umpire::strategy::PoolCoalesceHeuristic< QuickPool > &   
)

◆ to_string() [2/3]

std::string umpire::strategy::to_string ( PoolCoalesceHeuristic< QuickPool > &  )
inline

◆ operator<<() [4/4]

std::ostream & umpire::strategy::operator<< ( std::ostream &  out,
umpire::strategy::PoolCoalesceHeuristic< ResourceAwarePool > &   
)

◆ to_string() [3/3]

std::string umpire::strategy::to_string ( PoolCoalesceHeuristic< ResourceAwarePool > &  )
inline

Variable Documentation

◆ bits_per_int

constexpr std::size_t umpire::strategy::bits_per_int = sizeof(int) * 8
staticconstexpr