Table of Contents

Enum MetalMemoryStrategy

Namespace
DotCompute.Backends.Metal.Execution
Assembly
DotCompute.Backends.Metal.dll

Defines memory allocation strategies for Metal resources

public enum MetalMemoryStrategy

Fields

Aggressive = 7

Aggressive memory allocation strategy

Balanced = 6

Balanced memory allocation strategy

Default = 0

Default Metal memory allocation

DiscreteGpu = 2

Optimized for discrete GPU memory

ManagedMemory = 5

Managed memory with automatic synchronization

PrivateMemory = 4

Private GPU memory only

SharedMemory = 3

Use shared memory when possible

UnifiedMemory = 1

Optimized for Apple Silicon unified memory