C# Class Encog.Engine.Opencl.EncogCLQueue

An open CL queue.
Afficher le fichier Open project: encog/encog-silverlight-core Class Usage Examples

Méthodes publiques

Méthode Description
Array2Buffer ( float source, ComputeBuffer targetBuffer ) : void

Copy a float array to a buffer.

Array2Buffer ( int source, ComputeBuffer targetBuffer ) : void

Copy an int array to a buffer.

Buffer2Array ( ComputeBuffer sourceBuffer, float target ) : void

Copy a buffer to a float array.

Buffer2Array ( ComputeBuffer sourceBuffer, int target ) : void

Copy a buffer to an int array.

EncogCLQueue ( EncogCLDevice device ) : System

Construct a device.

Execute ( EncogKernel kernel ) : void

Execute the specified kernel.

WaitFinish ( ) : void

Wait until the queue is finished.

Method Details

Array2Buffer() public méthode

Copy a float array to a buffer.
public Array2Buffer ( float source, ComputeBuffer targetBuffer ) : void
source float The array.
targetBuffer ComputeBuffer The buffer.
Résultat void

Array2Buffer() public méthode

Copy an int array to a buffer.
public Array2Buffer ( int source, ComputeBuffer targetBuffer ) : void
source int The source array.
targetBuffer ComputeBuffer The buffer.
Résultat void

Buffer2Array() public méthode

Copy a buffer to a float array.
public Buffer2Array ( ComputeBuffer sourceBuffer, float target ) : void
sourceBuffer ComputeBuffer The source buffer.
target float The target array.
Résultat void

Buffer2Array() public méthode

Copy a buffer to an int array.
public Buffer2Array ( ComputeBuffer sourceBuffer, int target ) : void
sourceBuffer ComputeBuffer The source buffer.
target int The target array.
Résultat void

EncogCLQueue() public méthode

Construct a device.
public EncogCLQueue ( EncogCLDevice device ) : System
device EncogCLDevice The OpenCL device to base on.
Résultat System

Execute() public méthode

Execute the specified kernel.
public Execute ( EncogKernel kernel ) : void
kernel Encog.Engine.Opencl.Kernels.EncogKernel The kernel to execute.
Résultat void

WaitFinish() public méthode

Wait until the queue is finished.
public WaitFinish ( ) : void
Résultat void