Table of Contents

Class MetalCapabilities

Namespace
DotCompute.Backends.Metal.Configuration
Assembly
DotCompute.Backends.Metal.dll

Represents Metal device capabilities.

public sealed class MetalCapabilities
Inheritance
MetalCapabilities
Inherited Members

Properties

DeviceName

Gets the device name.

public required string DeviceName { get; init; }

Property Value

string

FeatureTier

Gets the feature tier.

public required MetalFeatureTier FeatureTier { get; init; }

Property Value

MetalFeatureTier

GpuFamily

Gets the primary GPU family.

public required MetalGpuFamily GpuFamily { get; init; }

Property Value

MetalGpuFamily

HasUnifiedMemory

Gets whether the device has unified memory.

public required bool HasUnifiedMemory { get; init; }

Property Value

bool

IsLowPower

Gets whether the device is low power.

public required bool IsLowPower { get; init; }

Property Value

bool

IsRemovable

Gets whether the device is removable.

public required bool IsRemovable { get; init; }

Property Value

bool

Location

Gets the device location.

public required MetalDeviceLocation Location { get; init; }

Property Value

MetalDeviceLocation

LocationNumber

Gets the device location number.

public required ulong LocationNumber { get; init; }

Property Value

ulong

MaxBufferLength

Gets the maximum buffer length.

public required ulong MaxBufferLength { get; init; }

Property Value

ulong

MaxThreadgroupSize

Gets the maximum threadgroup size.

public required ulong MaxThreadgroupSize { get; init; }

Property Value

ulong

MaxThreadsPerThreadgroup

Gets the maximum threads per threadgroup.

public required ulong MaxThreadsPerThreadgroup { get; init; }

Property Value

ulong

RecommendedMaxWorkingSetSize

Gets the recommended maximum working set size.

public required ulong RecommendedMaxWorkingSetSize { get; init; }

Property Value

ulong

RegistryID

Gets the device registry ID.

public required ulong RegistryID { get; init; }

Property Value

ulong

SupportedFamilies

Gets all supported GPU families.

public required HashSet<MetalGpuFamily> SupportedFamilies { get; init; }

Property Value

HashSet<MetalGpuFamily>