Table of Contents

Class MemoryCapabilities

Namespace
DotCompute.Abstractions.Ports
Assembly
DotCompute.Abstractions.dll

Memory management capabilities.

public sealed record MemoryCapabilities : IEquatable<MemoryCapabilities>
Inheritance
MemoryCapabilities
Implements
Inherited Members

Properties

AlignmentRequirement

Memory alignment requirement in bytes.

public int AlignmentRequirement { get; init; }

Property Value

int

MaxAllocationSize

Maximum allocation size in bytes.

public long MaxAllocationSize { get; init; }

Property Value

long

SupportsP2P

Supports peer-to-peer transfers.

public bool SupportsP2P { get; init; }

Property Value

bool

SupportsPooling

Supports memory pooling.

public bool SupportsPooling { get; init; }

Property Value

bool

SupportsUnifiedMemory

Supports unified/managed memory.

public bool SupportsUnifiedMemory { get; init; }

Property Value

bool

TotalMemory

Total available memory in bytes.

public long TotalMemory { get; init; }

Property Value

long