Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FUnixPlatformMemory
Description
LLM uses these low level functions (LLMAlloc and LLMFree) to allocate memory. It grabs the function pointers by calling FPlatformMemory::GetLLMAllocFunctions. If these functions are not implemented GetLLMAllocFunctions should return false and LLM will be disabled.
| Name | GetLLMAllocFunctions |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Unix/UnixPlatformMemory.h |
| Include Path | #include "Unix/UnixPlatformMemory.h" |
| Source | /Engine/Source/Runtime/Core/Private/Unix/UnixPlatformMemory.cpp |
static bool GetLLMAllocFunctions
(
void *(*&)(size_t) OutAllocFunction,
void(*&)(void *, size_t) OutFreeFunction,
int32 & OutAlignment
)