AutotuneCache

Helpers & Utilities · AiDotNet.Tensors.Helpers.Autotune

No summary documentation available yet.

Properties

Property Summary
string CurrentHardwareFingerprint { get; }
string DefaultCachePath { get; }

Methods

Method Summary
KernelChoice Lookup(KernelId kernelId, ShapeProfile shape)
Task<AutotuneWarmupReport> WarmupCategoryAsync(string category, IEnumerable<int[]> representativeInputShapes, IProgress<string> progress, CancellationToken ct)
Task<AutotuneWarmupReport> WarmupCommonKernelsAsync(IEnumerable<int[]> representativeInputShapes, IProgress<string> progress, CancellationToken ct)
Task<ValueTuple<int, int, int>> WarmupAsync(IEnumerable<ValueTuple<KernelId, ShapeProfile>> targets, Func<KernelId, ShapeProfile, CancellationToken, Task<KernelChoice>> benchmarker, CancellationToken ct)
bool TryStore(KernelId kernelId, ShapeProfile shape, KernelChoice winner)
void ClearCurrentHardware()
void Store(KernelId kernelId, ShapeProfile shape, KernelChoice winner)