SyTen
l_malloc.cpp File Reference

Implementation for file inc/util/l_malloc.h. More...

#include <stdlib.h>
#include "inc/util/l_malloc.h"
#include "inc/util/mkl_include.h"
+ Include dependency graph for l_malloc.cpp:

Namespaces

 syten
 The topmost namespace for this project.
 

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...
 

Detailed Description

Implementation for file inc/util/l_malloc.h.