cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
t_avx_pool Class Reference

#include <vectorize.h>

Collaboration diagram for t_avx_pool:
Collaboration graph
[legend]

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
 

Detailed Description

Definition at line 73 of file vectorize.h.

Constructor & Destructor Documentation

t_avx_pool::t_avx_pool ( )
inline

Definition at line 95 of file vectorize.h.

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

Definition at line 100 of file vectorize.h.

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

Definition at line 105 of file vectorize.h.

References 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

Definition at line 124 of file vectorize.h.

References 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

Definition at line 84 of file vectorize.h.

References CD_ALIGN, p_ptr, p_size, and p_used.

Referenced by avx_alloc(), and t_avx_pool().

Field Documentation

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

Definition at line 81 of file vectorize.h.

Referenced by t_avx_pool().

const size_t t_avx_pool::p_min_size = 30
staticprivate

Definition at line 82 of file vectorize.h.

Referenced by avx_free(), and t_avx_pool().

vector<void*> t_avx_pool::p_ptr
private

Definition at line 75 of file vectorize.h.

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

vector<size_t> t_avx_pool::p_size
private

Definition at line 76 of file vectorize.h.

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

vector<bool> t_avx_pool::p_used
private

Definition at line 77 of file vectorize.h.

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


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