OpenClBuffer<T>
Models & Types · AiDotNet.Tensors.Engines
No summary documentation available yet.
Implements: IDisposable
Constructors
| Constructor | Summary |
|---|---|
OpenClBuffer(OpenClContext context, T[] data, ClMemFlags flags) |
|
OpenClBuffer(OpenClContext context, int elementCount, ClMemFlags flags) |
Properties
| Property | Summary |
|---|---|
IntPtr Handle { get; } |
|
int Length { get; } |
|
ulong SizeInBytes { get; } |
Methods
| Method | Summary |
|---|---|
T[] ToArray() |
|
void CopyFromHost(T[] data) |
|
void CopyToHost(T[] data) |
|
void Dispose() |