C# 클래스 Encog.Engine.Opencl.Kernels.KernelVectorAdd

A very simple kernel, used to add a vector. Not actually used by Encog, it is a simple test case to verify that OpenCL is working.
상속: EncogKernel
파일 보기 프로젝트 열기: encog/encog-silverlight-core

공개 메소드들

메소드 설명
Add ( EncogCLDevice device, double inputA, double inputB ) : double[]

Perform the addition.

KernelVectorAdd ( EncogCLDevice device, int length ) : System

Construct a simple kernel to add two vectors.

메소드 상세

Add() 공개 메소드

Perform the addition.
public Add ( EncogCLDevice device, double inputA, double inputB ) : double[]
device EncogCLDevice The OpenCL device to use.
inputA double The first vector to add.
inputB double The second vector to add.
리턴 double[]

KernelVectorAdd() 공개 메소드

Construct a simple kernel to add two vectors.
public KernelVectorAdd ( EncogCLDevice device, int length ) : System
device EncogCLDevice The device to use.
length int The length of the vector.
리턴 System