CLA3P v0.3.1
Compact Linear Algebra Parallel Portable Package
Loading...
Searching...
No Matches
imalloc.hpp File Reference

Functions

void * cla3p::i2malloc (std::size_t size)
 Default allocator for raw byte storage.
void * cla3p::i2calloc (std::size_t nmemb, std::size_t size)
 Default zero-initializing allocator for raw byte storage.
void * cla3p::i2realloc (void *ptr, std::size_t size)
 Resizes a previously allocated memory block.
template<typename T_Elem>
T_Elem * cla3p::i_malloc_t (std::size_t nmemb)
 Type-safe allocator for uninitialized storage.
template<typename T_Elem>
T_Elem * cla3p::i_calloc_t (std::size_t nmemb)
 Type-safe allocator for zero-initialized storage.
template<typename T_Elem>
T_Elem * cla3p::i_realloc_t (T_Elem *ptr, std::size_t nmemb)
 Type-safe reallocator for typed storage.
void cla3p::i_free (void *ptr)
 Default deallocator for cla3p allocations.