Method | Description | |
---|---|---|
Compile ( ) : void |
Compile the kernel with no preprocessor defines.
|
|
Compile ( String>.IDictionary |
Compile the kernel with a map of preprocessor defines, a collection of name-value pairs.
|
|
CreateArrayReadOnly ( float array ) : ComputeBuffer |
Create an array buffer that is read only for floats.
|
|
CreateArrayReadOnly ( int array ) : ComputeBuffer |
Create an array buffer that is read only for ints.
|
|
CreateFloatArrayWriteOnly ( int length ) : ComputeBuffer |
Create an array buffer that is write only.
|
|
EncogKernel ( EncogCLDevice device, String sourceName, String kernelName ) : System |
Create an Encog OpenCL kernel. The Kernel will be loaded from an embedded resource.
|
|
PrepareKernel ( ) : void |
Called internally to prepare to execute a kernel.
|
|
Release ( ) : void |
Release this kernel.
|
public Compile ( String>.IDictionary |
||
options | String>.IDictionary | A map of preprocessor defines. |
return | void |
public CreateArrayReadOnly ( float array ) : ComputeBuffer |
||
array | float | The array to base on. |
return | ComputeBuffer |
public CreateArrayReadOnly ( int array ) : ComputeBuffer |
||
array | int | The array to base on. |
return | ComputeBuffer |
public CreateFloatArrayWriteOnly ( int length ) : ComputeBuffer |
||
length | int | The length of the buffer. |
return | ComputeBuffer |
public EncogKernel ( EncogCLDevice device, String sourceName, String kernelName ) : System | ||
device | EncogCLDevice | The OpenCL device to use. |
sourceName | String | The name of the kernel, from an embedded resource. |
kernelName | String | The name of the function, in the kernel, called to start thekernel. |
return | System |