|
Blender V5.0
|
#include "util/aligned_malloc.h"#include "util/guarded_allocator.h"#include <cassert>#include <malloc.h>Go to the source code of this file.
Functions | |
| CCL_NAMESPACE_BEGIN void * | util_aligned_malloc (const size_t size, const int alignment) |
| void | util_aligned_free (void *ptr, const size_t size) |
| void util_aligned_free | ( | void * | ptr, |
| const size_t | size ) |
Definition at line 57 of file aligned_malloc.cpp.
References free(), MEM_freeN(), ptr, size(), and util_guarded_mem_free().
Referenced by Device::host_free(), array< T, alignment >::mem_free(), CPUDevice::mem_free(), TEST(), TEST(), and util_aligned_delete().
| CCL_NAMESPACE_BEGIN void * util_aligned_malloc | ( | const size_t | size, |
| const int | alignment ) |
Definition at line 35 of file aligned_malloc.cpp.
References MEM_mallocN_aligned(), size(), and util_guarded_mem_alloc().
Referenced by Device::host_alloc(), CPUDevice::mem_alloc(), array< T, alignment >::mem_allocate(), TEST(), TEST(), and util_aligned_new().