Méthode | Description | |
---|---|---|
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.
|
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. |
Résultat | double[] |
public KernelVectorAdd ( EncogCLDevice device, int length ) : System | ||
device | EncogCLDevice | The device to use. |
length | int | The length of the vector. |
Résultat | System |