GpuMemoryTracker

Helpers & Utilities · AiDotNet.Tensors.Engines.DirectGpu

No summary documentation available yet.

Properties

Property Summary
int LiveCount { get; }
long LiveBytes { get; }
long PeakBytes { get; }

Methods

Method Summary
IDisposable BeginCapture(string label)
IDisposable BeginDownloadTrace()
string Report(int topN)
void Dump(string label)
void DumpDownloadTrace(string label)
void OnAlloc(IntPtr ptr, long bytes)
void OnDownload(long bytes)
void OnFree(IntPtr ptr)
void ResetPeak()

Fields

Field Summary
bool CaptureTrace
bool DownloadTrace
bool Enabled