Table of Contents

Class AcceleratorContext

Namespace
DotCompute.Memory
Assembly
DotCompute.Memory.dll

Represents the context for accelerator operations

public class AcceleratorContext
Inheritance
AcceleratorContext
Inherited Members

Properties

CustomContext

Gets custom context data

public object? CustomContext { get; init; }

Property Value

object

DeviceId

Gets the device identifier

public int DeviceId { get; init; }

Property Value

int

Stream

Gets the stream or queue for async operations

public nint Stream { get; init; }

Property Value

nint

Type

Gets the accelerator type

public AcceleratorType Type { get; init; }

Property Value

AcceleratorType