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
DeviceId
Gets the device identifier
public int DeviceId { get; init; }
Property Value
Stream
Gets the stream or queue for async operations
public nint Stream { get; init; }
Property Value
Type
Gets the accelerator type
public AcceleratorType Type { get; init; }