Table of Contents

Namespace DotCompute.Abstractions.Memory

Classes

FenceLocation

Specifies where memory fences should be inserted in kernel code.

MappedMemory<T>

Represents a mapped memory region that provides direct access to buffer memory.

MemoryInfo

Represents memory information for an accelerator device.

MemoryOptionsExtensions

Extension methods for MemoryOptions.

MemoryPoolStatistics

Memory pool statistics.

MemoryStatistics

Provides statistical information about memory usage and allocation patterns.

Structs

DeviceMemory<T>

Represents a reference to device memory that can be accessed as a span.

Interfaces

IMemoryBuffer<T>

Generic memory buffer interface for backward compatibility. This is an alias/wrapper for IUnifiedMemoryBuffer to support legacy code.

IMemoryOrderingProvider

Provides causal memory ordering primitives for GPU computation.

IUnifiedMemoryPool

Unified memory pool interface that replaces all duplicate memory pool interfaces. This is the ONLY memory pool interface in the entire solution.

Enums

BufferState

Represents the current state of a memory buffer.

FenceType

Specifies the scope of memory fence operations for GPU synchronization.

MapMode

Specifies the access mode when mapping memory.

MemoryConsistencyModel

Defines the memory consistency model for GPU kernel execution.

MemoryOptions

Options for memory allocation and management.

MemoryType

Specifies the type of memory allocation.