Method | Description | |
---|---|---|
AreCPUsPresent ( ) : bool | ||
ChooseDevice ( ) : |
Choose a device. If a GPU is found, return that. Otherwise try to find a CPU.
|
|
ChooseDevice ( bool useGPU ) : |
Choose a device. Simply returns the first device detected.
|
|
DisableAllCPUs ( ) : void |
Disable all devices that are CPU's. This is a good idea to do if you are going to use regular CPU processing in conjunction with OpenCL processing where the CPU is made to look like a OpenCL device. Otherwise, you end up with the CPU serving as both a "regular CPU training task" and as an "OpenCL training task".
|
|
EnableAllCPUs ( ) : void |
Enable all devices that are CPU's.
|
|
EncogCL ( ) : System |
Construct an Encog OpenCL object.
|
|
ToString ( ) : System.String |
All platforms detected.
|
public ChooseDevice ( bool useGPU ) : |
||
useGPU | bool | Do we prefer to use the GPU? |
return |