GpuBuffer<T>
Models & Types · AiDotNet.Tensors.Engines
No summary documentation available yet.
Implements: IDisposable
Constructors
| Constructor | Summary |
|---|---|
GpuBuffer(int length, int deviceId) |
Properties
| Property | Summary |
|---|---|
int DeviceId { get; } |
|
int Length { get; } |
Methods
| Method | Summary |
|---|---|
ReadOnlySpan<T> AsSpan() |
|
void CopyFromHost(ReadOnlyMemory<T> source) |
|
void CopyTo(GpuBuffer<T> destination) |
|
void CopyToHost(Memory<T> destination) |
|
void Dispose() |