Class MemoryInfo
- Namespace
- DotCompute.Abstractions.Memory
- Assembly
- DotCompute.Abstractions.dll
Represents memory information for an accelerator device.
public class MemoryInfo
- Inheritance
-
MemoryInfo
- Inherited Members
Properties
AvailableMemory
Gets or sets the available memory on the device in bytes.
public long AvailableMemory { get; set; }
Property Value
TotalMemory
Gets or sets the total memory available on the device in bytes.
public long TotalMemory { get; set; }
Property Value
UsagePercentage
Gets the memory usage percentage (0-100).
public double UsagePercentage { get; }
Property Value
UsedMemory
Gets or sets the used memory on the device in bytes.
public long UsedMemory { get; set; }