public interface Device
Context can be associated with multiple Devices
 that all belong to the same Platform.
 For execution, a single device must be chosen and passed to a command
 queue (Context.createQueue(com.jme3.opencl.Device)).
 This class is used to query the capabilities of the underlying device.
| Modifier and Type | Interface and Description | 
|---|---|
| static class  | Device.DeviceTypeThe device type | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getAddressBits()Returns the default compute device address space
 size specified as an unsigned integer value
 in bits. | 
| int | getClockFrequency() | 
| java.lang.String | getCompilerVersion()OpenCL C version string. | 
| int | getCompilerVersionMajor()Extracts the major version from the compiler version | 
| int | getCompilerVersionMinor()Extracts the minor version from the compiler version | 
| int | getComputeUnits()Returns the number of parallel compute units on
 the OpenCL device. | 
| Device.DeviceType | getDeviceType() | 
| java.lang.String | getDriverVersion() | 
| int | getDriverVersionMajor()Extracts the major version from the driver version | 
| int | getDriverVersionMinor()Extracts the minor version from the driver version | 
| java.util.Collection<? extends java.lang.String> | getExtensions()Lists all available extensions | 
| long | getGlobalMemorySize() | 
| long | getLocalMemorySize() | 
| long | getMaximumAllocationSize() | 
| int | getMaximumConstantArguments() | 
| long | getMaximumConstantBufferSize()Returns the maximal size of a constant buffer. | 
| long[] | getMaximumImage2DSize()Queries the maximal size of a 2D image | 
| long[] | getMaximumImage3DSize()Queries the maximal size of a 3D image | 
| int | getMaximumReadImages() | 
| int | getMaximumSamplers() | 
| long | getMaximumWorkItemDimensions()The maximum dimension that specify the local and global work item ids. | 
| long[] | getMaximumWorkItemSizes()Maximum number of work-items that can be specified in each dimension of the
 work-group to  Kernel.Run2(com.jme3.opencl.CommandQueue, com.jme3.opencl.Kernel.WorkSize, com.jme3.opencl.Kernel.WorkSize, java.lang.Object...). | 
| int | getMaximumWriteImages() | 
| long | getMaxiumWorkItemsPerGroup()Maximum number of work-items in a
 work-group executing a kernel on a single
 compute unit, using the data parallel
 execution model. | 
| java.lang.String | getName() | 
| Platform | getPlatform() | 
| java.lang.String | getProfile()OpenCL profile string. | 
| java.lang.String | getVendor() | 
| int | getVendorId() | 
| java.lang.String | getVersion()OpenCL version string. | 
| int | getVersionMajor()Extracts the major version from the version string | 
| int | getVersionMinor()Extracts the minor version from the version string | 
| boolean | hasCompiler() | 
| boolean | hasDouble() | 
| boolean | hasErrorCorrectingMemory() | 
| boolean | hasExtension(java.lang.String extension)Explictly tests for the availability of the specified extension | 
| boolean | hasHalfFloat() | 
| boolean | hasImageSupport() | 
| boolean | hasOpenGLInterop() | 
| boolean | hasUnifiedMemory() | 
| boolean | hasWritableImage3D() | 
| boolean | isAvailable()checks if this device is available at all, must always be tested | 
| boolean | isLittleEndian() | 
Platform getPlatform()
Device.DeviceType getDeviceType()
int getVendorId()
boolean isAvailable()
boolean hasCompiler()
boolean hasDouble()
boolean hasHalfFloat()
boolean hasErrorCorrectingMemory()
boolean hasUnifiedMemory()
boolean hasImageSupport()
boolean hasWritableImage3D()
boolean hasOpenGLInterop()
boolean hasExtension(java.lang.String extension)
extension - the name of the extensiontrue iff this extension is supportedjava.util.Collection<? extends java.lang.String> getExtensions()
int getComputeUnits()
getMaximumWorkItemDimensions(), 
getMaximumWorkItemSizes()int getClockFrequency()
int getAddressBits()
boolean isLittleEndian()
true if this device is little endianlong getMaximumWorkItemDimensions()
long[] getMaximumWorkItemSizes()
Kernel.Run2(com.jme3.opencl.CommandQueue, com.jme3.opencl.Kernel.WorkSize, com.jme3.opencl.Kernel.WorkSize, java.lang.Object...).
 The array has a length of at least 3.long getMaxiumWorkItemsPerGroup()
int getMaximumSamplers()
int getMaximumReadImages()
int getMaximumWriteImages()
long[] getMaximumImage2DSize()
long[] getMaximumImage3DSize()
long getMaximumAllocationSize()
long getGlobalMemorySize()
long getLocalMemorySize()
long getMaximumConstantBufferSize()
__constant BUFFER_TYPE* BUFFER_NAME.
 Because they have a special caching, their size is usually very limited.int getMaximumConstantArguments()
java.lang.String getProfile()
java.lang.String getVersion()
int getVersionMajor()
getVersion()int getVersionMinor()
}java.lang.String getCompilerVersion()
int getCompilerVersionMajor()
getCompilerVersion()int getCompilerVersionMinor()
getCompilerVersion()java.lang.String getDriverVersion()
int getDriverVersionMajor()
getDriverVersion()int getDriverVersionMinor()
getDriverVersion()java.lang.String getName()
java.lang.String getVendor()