C# 클래스 Encog.Engine.Opencl.EncogCLQueue

An open CL queue.
파일 보기 프로젝트 열기: encog/encog-silverlight-core 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

Array2Buffer() 공개 메소드

Copy a float array to a buffer.
public Array2Buffer ( float source, ComputeBuffer targetBuffer ) : void
source float The array.
targetBuffer ComputeBuffer The buffer.
리턴 void

Array2Buffer() 공개 메소드

Copy an int array to a buffer.
public Array2Buffer ( int source, ComputeBuffer targetBuffer ) : void
source int The source array.
targetBuffer ComputeBuffer The buffer.
리턴 void

Buffer2Array() 공개 메소드

Copy a buffer to a float array.
public Buffer2Array ( ComputeBuffer sourceBuffer, float target ) : void
sourceBuffer ComputeBuffer The source buffer.
target float The target array.
리턴 void

Buffer2Array() 공개 메소드

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

EncogCLQueue() 공개 메소드

Construct a device.
public EncogCLQueue ( EncogCLDevice device ) : System
device EncogCLDevice The OpenCL device to base on.
리턴 System

Execute() 공개 메소드

Execute the specified kernel.
public Execute ( EncogKernel kernel ) : void
kernel Encog.Engine.Opencl.Kernels.EncogKernel The kernel to execute.
리턴 void

WaitFinish() 공개 메소드

Wait until the queue is finished.
public WaitFinish ( ) : void
리턴 void