Aligned memory allocation functions. More...
#include <cstddef>
Namespaces | |
namespace | syten |
Syten namespace. | |
Functions | |
void | syten::l_free (void *ptr) |
Frees the space of memory pointed to be ptr . More... | |
void * | syten::l_malloc (std::size_t const size, std::size_t const alignment=64) |
Allocates a region of heap memory at least size bytes large, aligned to alignment boundary. More... | |
std::size_t | syten::smallest_multiple (std::size_t const factor, std::size_t const lower_bound) |
Returns the smallest multiple of factor that is at equal to or larger than lower_bound . More... | |
Aligned memory allocation functions.