Table of Contents

Class BufferMemoryInfo

Namespace
DotCompute.Memory
Assembly
DotCompute.Memory.dll

Information about buffer memory allocation and usage.

public sealed class BufferMemoryInfo
Inheritance
BufferMemoryInfo
Inherited Members

Properties

DeviceAddress

Gets or sets the device address.

public nint DeviceAddress { get; init; }

Property Value

nint

The device address.

DeviceAllocated

Gets or sets the device allocated.

public bool DeviceAllocated { get; init; }

Property Value

bool

The device allocated.

HostAddress

Gets or sets the host address.

public nint HostAddress { get; init; }

Property Value

nint

The host address.

HostAllocated

Gets or sets the host allocated.

public bool HostAllocated { get; init; }

Property Value

bool

The host allocated.

IsPinned

Gets or sets a value indicating whether pinned.

public bool IsPinned { get; init; }

Property Value

bool

The is pinned.

SizeInBytes

Gets or sets the size in bytes.

public long SizeInBytes { get; init; }

Property Value

long

The size in bytes.

State

Gets or sets the state.

public BufferState State { get; init; }

Property Value

BufferState

The state.