Agora  1.2.0
Agora project
memory_manage.h File Reference
#include <array>
#include <cassert>
#include <complex>
#include <cstddef>
#include <cstdlib>
#include <cstring>
#include <random>
Include dependency graph for memory_manage.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Table< T >
 
class  PtrGrid< ROWS, COLS, T >
 
class  PtrCube< DIM1, DIM2, DIM3, T >
 

Namespaces

 Agora_memory
 

Enumerations

enum  Agora_memory::Alignment_t : size_t { Agora_memory::Alignment_t::kAlign32 = 32, Agora_memory::Alignment_t::kAlign64 = 64, Agora_memory::Alignment_t::kAlign4096 = 4096 }
 

Functions

void * Agora_memory::PaddedAlignedAlloc (Alignment_t alignment, size_t size)
 
template<typename T , typename U >
static void AllocBuffer1d (T **buffer, U dim, Agora_memory::Alignment_t alignment, int init_zero)
 
template<typename T >
static void FreeBuffer1d (T **buffer)
 

Function Documentation

◆ AllocBuffer1d()

template<typename T , typename U >
static void AllocBuffer1d ( T **  buffer,
dim,
Agora_memory::Alignment_t  alignment,
int  init_zero 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ FreeBuffer1d()

template<typename T >
static void FreeBuffer1d ( T **  buffer)
static
Here is the caller graph for this function: