RAJA
RAJA provides a collection of platform portability abstractions for C++ HPC applications.
Classes | Namespaces
basic_mempool.hpp File Reference

RAJA header file containing an implementation of a memory pool. More...

#include <cassert>
#include <cstddef>
#include <cstdio>
#include <cstdlib>
#include <list>
#include <map>
#include <mutex>
#include "RAJA/util/align.hpp"

Go to the source code of this file.

Classes

class  RAJA::basic_mempool::detail::MemoryArena
 MemoryArena is a map based subclass for class MemPool provides book-keeping to divy a large chunk of pre-allocated memory to avoid the overhead of malloc/free or cudaMalloc/cudaFree, etc. More...
 
class  RAJA::basic_mempool::MemPool< allocator_t >
 MemPool pre-allocates a large chunk of memory and provides generic malloc/free for the user to allocate aligned data within the pool. More...
 
struct  RAJA::basic_mempool::generic_allocator
 example allocator for basic_mempool using malloc/free More...
 

Namespaces

 RAJA
 
 RAJA::basic_mempool
 
 RAJA::basic_mempool::detail
 

Detailed Description

RAJA header file containing an implementation of a memory pool.