Brick Library 0.1
Performance-portable stencil datalayout & codegen
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
MEMFD Class Reference

#include <memfd.h>

Public Member Functions

 MEMFD (MEMFD *memfd)
 
 MEMFD (size_t length)
 
void * map_pointer (void *hint, size_t pos, size_t len)
 
void * packed_pointer (const std::vector< size_t > &packed)
 
void * packed_pointer (const std::initializer_list< size_t > &packed_init)
 
MEMFDduplicate (size_t offset)
 
void cleanup ()
 

Static Public Member Functions

static void setup_prefix (const std::string &prefix, int rank)
 
static void free (void *ptr, size_t length)
 

Static Public Attributes

static uint8_t * mmap_end = (uint8_t *) 0x600000000000L
 
static std::set< void * > allocated
 

Constructor & Destructor Documentation

◆ MEMFD() [1/2]

MEMFD::MEMFD ( MEMFD memfd)
inline

◆ MEMFD() [2/2]

MEMFD::MEMFD ( size_t  length)

Member Function Documentation

◆ cleanup()

void MEMFD::cleanup ( )

◆ duplicate()

MEMFD * MEMFD::duplicate ( size_t  offset)
Here is the call graph for this function:

◆ free()

void MEMFD::free ( void *  ptr,
size_t  length 
)
static

◆ map_pointer()

void * MEMFD::map_pointer ( void *  hint,
size_t  pos,
size_t  len 
)

◆ packed_pointer() [1/2]

void * MEMFD::packed_pointer ( const std::initializer_list< size_t > &  packed_init)
inline
Here is the call graph for this function:

◆ packed_pointer() [2/2]

void * MEMFD::packed_pointer ( const std::vector< size_t > &  packed)
Here is the call graph for this function:

◆ setup_prefix()

void MEMFD::setup_prefix ( const std::string &  prefix,
int  rank 
)
static

Member Data Documentation

◆ allocated

std::set< void * > MEMFD::allocated
static

◆ mmap_end

uint8_t * MEMFD::mmap_end = (uint8_t *) 0x600000000000L
static

The documentation for this class was generated from the following files: