Extensions
Namespace
Brahma.FSharp.OpenCL- Attributes
- [<AutoOpen>]
Type extensions
Type extension | Signature | Description | |
---|---|---|---|
# | x.ToGpu(provider) | provider:ComputeProvider -> WriteBuffer<'T> | CompiledName: |
# | x.ToGpu(provider, hostArray) | (provider:ComputeProvider * hostArray:'T array) -> WriteBuffer<'T> | Write data from array data into corresponded buffer. Transferred data length is min of a.Length and hostArray.Lenght. CompiledName: |
# | x.ToHost(provider) | provider:ComputeProvider -> ReadBuffer<'T> | Read all data from corresponded buffer into array a. CompiledName: |
# | x.ToHost(provider, hostArray) | (provider:ComputeProvider * hostArray:'T array) -> ReadBuffer<'T> | Read data from corresponded buffer into array hostArray. Transferred data length is min of a.Length and hostArray.Lenght. CompiledName: |
# | x.ToHost(provider, hostArray, length) | (provider:ComputeProvider * hostArray:'T array * length:int) -> ReadBuffer<'T> | Read data from corresponded buffer into array hostArray. Transferred data length is length. CompiledName: |
Write all data from array a into corresponded buffer.