GpuKernelDiagnostics

Helpers & Utilities · AiDotNet.Tensors.Engines.DirectGpu

No summary documentation available yet.

Properties

Property Summary
bool DeepChecksEnabled { get; }
bool SynchronousLaunches { get; }
long LiveBufferBytes { get; }
long LiveBufferCount { get; }
long PeakLiveBufferBytes { get; }
long PeakLocalBytesPerThread { get; }
long TotalBuffersAllocated { get; }

Methods

Method Summary
IReadOnlyList<string> RecentLaunches()
bool IsPowerOfTwo(long value)
string DescribeBufferResidency()
string DescribeRecentLaunches(int maximum)
void DumpTo(string path)
void EnsureRegistered()
void RecordBufferAllocated(long bytes)
void RecordBufferReleased(long bytes)
void RecordLaunch(string kernelName, long globalSize, long localSize, int argCount)
void RecordLaunchByHandle(IntPtr handle, long globalSize, long localSize, int argCount)
void RecordLocalBytesPerThread(long bytes)
void RegisterKernelName(IntPtr handle, string name)
void UnregisterKernelName(IntPtr handle)
void ValidateCapacity(string kernelName, string bufferName, long bufferElements, long addressedElements)
void ValidateLaunch(string kernelName, bool handleIsValid, int stagedArgCount, int declaredArgCount, long globalSize, long localSize, long maxWorkGroupSize, bool requiresPowerOfTwoWorkGroup)