|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.encog.engine.opencl.EncogCL
public class EncogCL
An OpenCL platform. A platform is a collection of OpenCL devices from the same vendor. Often, you will have only a single platform.
| Constructor Summary | |
|---|---|
EncogCL()
Construct an Encog OpenCL object. |
|
| Method Summary | |
|---|---|
boolean |
areCPUsPresent()
|
EncogCLDevice |
chooseDevice()
Choose a device. |
EncogCLDevice |
chooseDevice(boolean useGPU)
Choose a device. |
void |
disableAllCPUs()
Disable all devices that are CPU's. |
void |
enableAllCPUs()
Enable all devices that are CPU's. |
List<EncogCLDevice> |
getDevices()
|
List<EncogCLDevice> |
getEnabledDevices()
|
List<EncogCLPlatform> |
getPlatforms()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EncogCL()
| Method Detail |
|---|
public boolean areCPUsPresent()
public EncogCLDevice chooseDevice()
public EncogCLDevice chooseDevice(boolean useGPU)
useGPU - Do we prefer to use the GPU?
public void disableAllCPUs()
public void enableAllCPUs()
public List<EncogCLDevice> getDevices()
public List<EncogCLDevice> getEnabledDevices()
public List<EncogCLPlatform> getPlatforms()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||