Package com.aparapi.device
Class JavaDevice
- java.lang.Object
-
- com.aparapi.device.Device
-
- com.aparapi.device.JavaDevice
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.aparapi.device.Device
Device.TYPE
-
-
Field Summary
Fields Modifier and Type Field Description static JavaDeviceALTERNATIVE_ALGORITHMprivate longdeviceIdprivate java.lang.Stringnamestatic JavaDeviceSEQUENTIALstatic JavaDeviceTHREAD_POOL-
Fields inherited from class com.aparapi.device.Device
maxWorkGroupSize, maxWorkItemDimensions, maxWorkItemSize, type
-
-
Constructor Summary
Constructors Modifier Constructor Description privateJavaDevice(Device.TYPE _type, java.lang.String _name, long deviceId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetDeviceId()java.lang.StringgetShortDescription()java.lang.StringtoString()-
Methods inherited from class com.aparapi.device.Device
best, bestACC, bestGPU, compareTo, createRange, createRange, createRange2D, createRange2D, createRange3D, createRange3D, equals, first, firstCPU, firstGPU, getMaxWorkGroupSize, getMaxWorkItemDimensions, getMaxWorkItemSize, getType, hashCode, setMaxWorkGroupSize, setMaxWorkItemDimensions, setMaxWorkItemSize, setType
-
-
-
-
Field Detail
-
THREAD_POOL
public static final JavaDevice THREAD_POOL
-
ALTERNATIVE_ALGORITHM
public static final JavaDevice ALTERNATIVE_ALGORITHM
-
SEQUENTIAL
public static final JavaDevice SEQUENTIAL
-
name
private final java.lang.String name
-
deviceId
private final long deviceId
-
-
Constructor Detail
-
JavaDevice
private JavaDevice(Device.TYPE _type, java.lang.String _name, long deviceId)
-
-
Method Detail
-
getShortDescription
public java.lang.String getShortDescription()
- Specified by:
getShortDescriptionin classDevice
-
getDeviceId
public long getDeviceId()
- Specified by:
getDeviceIdin classDevice
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-