GpuMemoryStats

Helpers & Utilities · AiDotNet.Tensors.Engines.DevicePrimitives

No summary documentation available yet.

Properties

Property Summary
IReadOnlyList<string> DeviceNames { get; }
long ActiveAllocations { get; }
long CurrentBytes { get; }
long PeakBytes { get; }
long TotalAllocatedBytes { get; }

Methods

Method Summary
GpuMemorySnapshot Snapshot()
GpuMemorySnapshot Snapshot(IDirectGpuBackend backend)
GpuMemorySnapshot Snapshot(string device)
IReadOnlyDictionary<string, IReadOnlyDictionary<string, long>> StatsByAllocator()
IReadOnlyDictionary<string, long> Stats()
IReadOnlyDictionary<string, long> Stats(IDirectGpuBackend backend)
string Summary()
void RecordAllocation(string allocator, long bytes)
void RecordFree(string allocator, long bytes)
void Reset()
void ResetPeakStats()
void ResetPeakStats(IDirectGpuBackend backend)