|
Blender V4.3
|
#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 (size_t size, int alignment) |
| void | util_aligned_free (void *ptr) |
| void util_aligned_free | ( | void * | ptr | ) |
Definition at line 51 of file aligned_malloc.cpp.
References free(), MEM_freeN(), NULL, and ptr.
Referenced by device_memory::host_free(), array< T, alignment >::mem_free(), CPUDevice::mem_free(), TEST(), TEST(), and util_aligned_delete().
| CCL_NAMESPACE_BEGIN void * util_aligned_malloc | ( | size_t | size, |
| int | alignment ) |
Definition at line 31 of file aligned_malloc.cpp.
References MEM_mallocN_aligned(), NULL, and result.
Referenced by device_memory::host_alloc(), CPUDevice::mem_alloc(), array< T, alignment >::mem_allocate(), TEST(), TEST(), and util_aligned_new().