Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
t_avx_pool Class Reference

#include <vectorize.h>

Public Member Functions

 t_avx_pool ()
 
 ~t_avx_pool ()
 
void * avx_alloc (size_t sz)
 
void avx_free (void *p_ptr_alloc)
 

Private Member Functions

void p_alloc (size_t sz, bool lgUsed)
 

Private Attributes

vector< void * > p_ptr
 
vector< size_t > p_size
 
vector< bool > p_used
 

Static Private Attributes

static const size_t p_def_size = 8500*sizeof(double)
 
static const size_t p_min_size = 30
 

Constructor & Destructor Documentation

t_avx_pool::t_avx_pool ( )
inline

References p_alloc(), p_def_size, and p_min_size.

Here is the call graph for this function:

t_avx_pool::~t_avx_pool ( )
inline

References p_ptr, and posix_memalign_free().

Here is the call graph for this function:

Member Function Documentation

void* t_avx_pool::avx_alloc ( size_t  sz)
inline

References NULL, p_alloc(), p_ptr, p_size, and p_used.

Referenced by avx_ptr< T, lgBC >::p_alloc().

Here is the call graph for this function:

void t_avx_pool::avx_free ( void *  p_ptr_alloc)
inline

References NULL, p_min_size, p_ptr, p_size, p_used, and posix_memalign_free().

Referenced by avx_ptr< T, lgBC >::~avx_ptr().

Here is the call graph for this function:

void t_avx_pool::p_alloc ( size_t  sz,
bool  lgUsed 
)
inlineprivate

References CD_ALIGN, p_ptr, p_size, and p_used.

Referenced by avx_alloc(), and t_avx_pool().

Member Data Documentation

const size_t t_avx_pool::p_def_size = 8500*sizeof(double)
staticprivate

Referenced by t_avx_pool().

const size_t t_avx_pool::p_min_size = 30
staticprivate

Referenced by avx_free(), and t_avx_pool().

vector<void*> t_avx_pool::p_ptr
private
vector<size_t> t_avx_pool::p_size
private

Referenced by avx_alloc(), avx_free(), and p_alloc().

vector<bool> t_avx_pool::p_used
private

Referenced by avx_alloc(), avx_free(), and p_alloc().


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