UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
AppleLLM.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
6
7#if ENABLE_LOW_LEVEL_MEM_TRACKER
8
9#define LLM_SCOPE_APPLE(Tag) LLM_SCOPE((ELLMTag)Tag)
10#define LLM_PLATFORM_SCOPE_APPLE(Tag) LLM_PLATFORM_SCOPE((ELLMTag)Tag)
11
12#define LLM_TAG_APPLE_NUM_METAL_TAGS_RESERVED 5
13
14enum class ELLMTagApple : LLM_TAG_TYPE
15{
16 ObjectiveC = (LLM_TAG_TYPE)ELLMTag::PlatformTagStart, // Use Instruments for detailed breakdown!
17
18 /* Reserved for Metal tags to be utlized in MetalLLM.h */
21
22 Count
23};
24static_assert((int32)ELLMTagApple::Count <= (int32)ELLMTag::PlatformTagEnd, "too many ELLMTagApple tags");
25
26namespace AppleLLM
27{
28 void Initialise();
29}
30
31#else
32
33#define LLM_SCOPE_APPLE(...)
34#define LLM_PLATFORM_SCOPE_APPLE(...)
35
36#endif // #if ENABLE_LOW_LEVEL_MEM_TRACKER
37
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
void Initialise(bool wait_for_connect=false)