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 JavaDevice
ALTERNATIVE_ALGORITHM
private long
deviceId
private java.lang.String
name
static JavaDevice
SEQUENTIAL
static JavaDevice
THREAD_POOL
-
Fields inherited from class com.aparapi.device.Device
maxWorkGroupSize, maxWorkItemDimensions, maxWorkItemSize, type
-
-
Constructor Summary
Constructors Modifier Constructor Description private
JavaDevice(Device.TYPE _type, java.lang.String _name, long deviceId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getDeviceId()
java.lang.String
getShortDescription()
java.lang.String
toString()
-
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:
getShortDescription
in classDevice
-
getDeviceId
public long getDeviceId()
- Specified by:
getDeviceId
in classDevice
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-