GpuWorkspace

Models & Types · AiDotNet.Tensors.Helpers

No summary documentation available yet.

Implements: IDisposable

Constructors

Constructor Summary
GpuWorkspace(IDirectGpuBackend backend)

Properties

Property Summary
IGpuBuffer Buffer { get; }
bool IsAllocated { get; }
int SlotCount { get; }
int TotalElements { get; set; }

Methods

Method Summary
ValueTuple<int, int> GetSlotRegion(int slotId)
int Register(int[] shape)
int[] GetShape(int slotId)
void Allocate()
void Dispose()
void ExecuteBatch(Action<GpuWorkspace> operations)
void Reset()