|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.encog.engine.opencl.EncogCLItem
org.encog.engine.opencl.EncogCLDevice
public class EncogCLDevice
An OpenCL compute device. One of these will be created for each GPU on your system. Some GPU drivers will also map your CPU as a compute device. A device will likely have parallel processing capabilities. A CPU device will have multiple cores. A GPU, will have multiple compute units. Devices are held by Platforms. A platform is a way to group all devices from a single vendor or driver.
| Constructor Summary | |
|---|---|
EncogCLDevice(EncogCLPlatform platform,
org.jocl.cl_device_id device)
Construct an OpenCL device. |
|
| Method Summary | |
|---|---|
org.jocl.cl_device_id |
getDevice()
|
long |
getDeviceLong(int param)
Get a long param from the device. |
String |
getDeviceString(int param)
Get a config string from the device. |
long |
getGlobalMemorySize()
|
long |
getLocalMemorySize()
|
long |
getMaxClockFrequency()
|
long |
getMaxComputeUnits()
|
long |
getMaxWorkGroupSize()
|
EncogCLPlatform |
getPlatform()
|
EncogCLQueue |
getQueue()
|
boolean |
isCPU()
|
String |
toString()
|
| Methods inherited from class org.encog.engine.opencl.EncogCLItem |
|---|
getName, getVender, isEnabled, setEnabled, setName, setVender |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EncogCLDevice(EncogCLPlatform platform,
org.jocl.cl_device_id device)
platform - The platform.device - The device.| Method Detail |
|---|
public org.jocl.cl_device_id getDevice()
public long getDeviceLong(int param)
param - The param desired.
public String getDeviceString(int param)
param - The param to get.
public long getGlobalMemorySize()
public long getLocalMemorySize()
public long getMaxClockFrequency()
public long getMaxComputeUnits()
public long getMaxWorkGroupSize()
public EncogCLPlatform getPlatform()
public EncogCLQueue getQueue()
public boolean isCPU()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||