Extensions

Namespace

Brahma.FSharp.OpenCL
Attributes
[<AutoOpen>]

Type extensions

Type extensionSignatureDescription
#x.ToGpu(provider)provider:ComputeProvider -> WriteBuffer<'T>

Write all data from array a into corresponded buffer.

CompiledName:[]`1.ToGpu

#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:[]`1.ToGpu

#x.ToHost(provider)provider:ComputeProvider -> ReadBuffer<'T>

Read all data from corresponded buffer into array a.

CompiledName:[]`1.ToHost

#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:[]`1.ToHost

#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:[]`1.ToHost