|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jocl.utils.DeviceInfos
public class DeviceInfos
Utility methods for obtaining information about cl_device_id objects
Method Summary | |
---|---|
static int |
getAddressBits(org.jocl.cl_device_id device)
The default compute device address space size bits |
static boolean |
getAvailable(org.jocl.cl_device_id device)
Whether the device is available |
static boolean |
getCompilerAvailable(org.jocl.cl_device_id device)
Whether the implementation does have a compiler |
static java.lang.String |
getDeviceVersion(org.jocl.cl_device_id device)
OpenCL version string |
static java.lang.String |
getDriverVersion(org.jocl.cl_device_id device)
OpenCL software driver version string |
static boolean |
getEndianLittle(org.jocl.cl_device_id device)
Whether the OpenCL device is a little endian device |
static boolean |
getErrorCorrectionSupport(org.jocl.cl_device_id device)
Whether the device implements error correction |
static long |
getExecutionCapabilities(org.jocl.cl_device_id device)
Describes the execution capabilities of the device |
static java.lang.String |
getExecutionCapabilitiesString(org.jocl.cl_device_id device)
Describes the execution capabilities of the device as a String |
static java.lang.String |
getExtensions(org.jocl.cl_device_id device)
A space-separated list of extension names |
static int |
getGlobalMemCachelineSize(org.jocl.cl_device_id device)
Size of global memory cache line in bytes |
static long |
getGlobalMemCacheSize(org.jocl.cl_device_id device)
Size of global memory cache in bytes |
static long |
getGlobalMemCacheType(org.jocl.cl_device_id device)
Type of global memory cache supported |
static long |
getGlobalMemSize(org.jocl.cl_device_id device)
Size of global device memory in bytes |
static boolean |
getHostUnifiedMemory(org.jocl.cl_device_id device)
Whether device and host have a unified memory subsystem |
static long |
getImage2dMaxHeight(org.jocl.cl_device_id device)
Max height of 2D image in pixels |
static long |
getImage2dMaxWidth(org.jocl.cl_device_id device)
Max width of 2D image in pixels |
static long |
getImage3dMaxDepth(org.jocl.cl_device_id device)
Max depth of 3D image in pixels |
static long |
getImage3dMaxHeight(org.jocl.cl_device_id device)
Max height of 3D image in pixels |
static long |
getImage3dMaxWidth(org.jocl.cl_device_id device)
Max width of 3D image in pixels |
static boolean |
getImageSupport(org.jocl.cl_device_id device)
Whether images are supported by the OpenCL device |
static long |
getLocalMemSize(org.jocl.cl_device_id device)
Size of local memory arena in bytes |
static long |
getLocalMemType(org.jocl.cl_device_id device)
Type of local memory supported |
static java.lang.String |
getLocalMemTypeString(org.jocl.cl_device_id device)
Type of local memory supported as a String |
static int |
getMaxClockFrequency(org.jocl.cl_device_id device)
Maximum configured clock frequency in MHz |
static int |
getMaxComputeUnits(org.jocl.cl_device_id device)
The number of parallel compute cores |
static int |
getMaxConstantArgs(org.jocl.cl_device_id device)
Max number of __constant kernel arguments |
static long |
getMaxConstantBufferSize(org.jocl.cl_device_id device)
Max size in bytes of a constant buffer allocation |
static long |
getMaxMemAllocSize(org.jocl.cl_device_id device)
Max size of memory object allocation in bytes |
static long |
getMaxParameterSize(org.jocl.cl_device_id device)
Max size in bytes of the kernel arguments |
static int |
getMaxReadImageArgs(org.jocl.cl_device_id device)
Max number of simultaneous image objects that can be read by a kernel |
static int |
getMaxSamplers(org.jocl.cl_device_id device)
Maximum number of samplers that can be used in a kernel |
static long |
getMaxWorkGroupSize(org.jocl.cl_device_id device)
Maximum number of work-items in a work-group |
static int |
getMaxWorkItemDimensions(org.jocl.cl_device_id device)
Maximum dimensions that specify the global and local work-item IDs |
static long[] |
getMaxWorkItemSizes(org.jocl.cl_device_id device)
Maximum number of work-items for each dimension |
static int |
getMaxWriteImageArgs(org.jocl.cl_device_id device)
Max number of simultaneous image objects that can be written to by a kernel |
static int |
getMemBaseAddrAlign(org.jocl.cl_device_id device)
Describes the alignment in bits of memory objects |
static int |
getMinDataTypeAlignSize(org.jocl.cl_device_id device)
The smallest alignment in bytes which can be used for any data type |
static java.lang.String |
getName(org.jocl.cl_device_id device)
Device name string |
static int |
getNativeVectorWidthChar(org.jocl.cl_device_id device)
Native ISA vector width (char) |
static int |
getNativeVectorWidthDouble(org.jocl.cl_device_id device)
Native ISA vector width (double) |
static int |
getNativeVectorWidthFloat(org.jocl.cl_device_id device)
Native ISA vector width (float) |
static int |
getNativeVectorWidthHalf(org.jocl.cl_device_id device)
Native ISA vector width (half) |
static int |
getNativeVectorWidthInt(org.jocl.cl_device_id device)
Native ISA vector width (int) |
static int |
getNativeVectorWidthLong(org.jocl.cl_device_id device)
Native ISA vector width (long) |
static int |
getNativeVectorWidthShort(org.jocl.cl_device_id device)
Native ISA vector width (short) |
static java.lang.String |
getOpenclCVersion(org.jocl.cl_device_id device)
The highest OpenCL C version supported by the compiler |
static int |
getPreferredVectorWidthChar(org.jocl.cl_device_id device)
Preferred native vector width (char) |
static int |
getPreferredVectorWidthDouble(org.jocl.cl_device_id device)
Preferred native vector width (double) |
static int |
getPreferredVectorWidthFloat(org.jocl.cl_device_id device)
Preferred native vector width (float) |
static int |
getPreferredVectorWidthHalf(org.jocl.cl_device_id device)
Preferred native vector width (half) |
static int |
getPreferredVectorWidthInt(org.jocl.cl_device_id device)
Preferred native vector width (int) |
static int |
getPreferredVectorWidthLong(org.jocl.cl_device_id device)
Preferred native vector width (long) |
static int |
getPreferredVectorWidthShort(org.jocl.cl_device_id device)
Preferred native vector width (short) |
static java.lang.String |
getProfile(org.jocl.cl_device_id device)
OpenCL profile string |
static long |
getProfilingTimerResolution(org.jocl.cl_device_id device)
The resolution of device timer in nanoseconds |
static long |
getQueueProperties(org.jocl.cl_device_id device)
The supported command-queue properties |
static java.lang.String |
getQueuePropertiesString(org.jocl.cl_device_id device)
The supported command-queue properties as a String |
static long |
getSingleFpConfig(org.jocl.cl_device_id device)
Single precision floating-point capability |
static java.lang.String |
getSingleFpConfigString(org.jocl.cl_device_id device)
Single precision floating-point capability as a String |
static long |
getType(org.jocl.cl_device_id device)
The OpenCL device type |
static java.lang.String |
getTypeString(org.jocl.cl_device_id device)
The OpenCL device type as a String |
static java.lang.String |
getVendor(org.jocl.cl_device_id device)
Vendor name string |
static int |
getVendorId(org.jocl.cl_device_id device)
A unique device vendor identifier |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.String getName(org.jocl.cl_device_id device)
device
- The device
public static java.lang.String getVendor(org.jocl.cl_device_id device)
device
- The device
public static int getVendorId(org.jocl.cl_device_id device)
device
- The device
public static long getType(org.jocl.cl_device_id device)
device
- The device
public static java.lang.String getTypeString(org.jocl.cl_device_id device)
device
- The device
public static java.lang.String getDeviceVersion(org.jocl.cl_device_id device)
device
- The device
public static java.lang.String getDriverVersion(org.jocl.cl_device_id device)
device
- The device
public static java.lang.String getProfile(org.jocl.cl_device_id device)
device
- The device
public static int getMaxClockFrequency(org.jocl.cl_device_id device)
device
- The device
public static int getMaxComputeUnits(org.jocl.cl_device_id device)
device
- The device
public static boolean getAvailable(org.jocl.cl_device_id device)
device
- The device
public static int getAddressBits(org.jocl.cl_device_id device)
device
- The device
public static boolean getEndianLittle(org.jocl.cl_device_id device)
device
- The device
public static boolean getCompilerAvailable(org.jocl.cl_device_id device)
device
- The device
public static java.lang.String getOpenclCVersion(org.jocl.cl_device_id device)
device
- The device
public static boolean getErrorCorrectionSupport(org.jocl.cl_device_id device)
device
- The device
public static long getExecutionCapabilities(org.jocl.cl_device_id device)
device
- The device
public static java.lang.String getExecutionCapabilitiesString(org.jocl.cl_device_id device)
device
- The device
public static java.lang.String getExtensions(org.jocl.cl_device_id device)
device
- The device
public static boolean getHostUnifiedMemory(org.jocl.cl_device_id device)
device
- The device
public static long getProfilingTimerResolution(org.jocl.cl_device_id device)
device
- The device
public static long getQueueProperties(org.jocl.cl_device_id device)
device
- The device
public static java.lang.String getQueuePropertiesString(org.jocl.cl_device_id device)
device
- The device
public static long getSingleFpConfig(org.jocl.cl_device_id device)
device
- The device
public static java.lang.String getSingleFpConfigString(org.jocl.cl_device_id device)
device
- The device
public static long getGlobalMemCacheSize(org.jocl.cl_device_id device)
device
- The device
public static long getGlobalMemCacheType(org.jocl.cl_device_id device)
device
- The device
public static int getGlobalMemCachelineSize(org.jocl.cl_device_id device)
device
- The device
public static long getGlobalMemSize(org.jocl.cl_device_id device)
device
- The device
public static boolean getImageSupport(org.jocl.cl_device_id device)
device
- The device
public static long getImage2dMaxHeight(org.jocl.cl_device_id device)
device
- The device
public static long getImage2dMaxWidth(org.jocl.cl_device_id device)
device
- The device
public static long getImage3dMaxDepth(org.jocl.cl_device_id device)
device
- The device
public static long getImage3dMaxHeight(org.jocl.cl_device_id device)
device
- The device
public static long getImage3dMaxWidth(org.jocl.cl_device_id device)
device
- The device
public static long getLocalMemSize(org.jocl.cl_device_id device)
device
- The device
public static long getLocalMemType(org.jocl.cl_device_id device)
device
- The device
public static java.lang.String getLocalMemTypeString(org.jocl.cl_device_id device)
device
- The device
public static int getMaxConstantArgs(org.jocl.cl_device_id device)
device
- The device
public static long getMaxConstantBufferSize(org.jocl.cl_device_id device)
device
- The device
public static long getMaxMemAllocSize(org.jocl.cl_device_id device)
device
- The device
public static long getMaxParameterSize(org.jocl.cl_device_id device)
device
- The device
public static int getMaxReadImageArgs(org.jocl.cl_device_id device)
device
- The device
public static int getMaxSamplers(org.jocl.cl_device_id device)
device
- The device
public static long getMaxWorkGroupSize(org.jocl.cl_device_id device)
device
- The device
public static int getMaxWorkItemDimensions(org.jocl.cl_device_id device)
device
- The device
public static long[] getMaxWorkItemSizes(org.jocl.cl_device_id device)
device
- The device
public static int getMaxWriteImageArgs(org.jocl.cl_device_id device)
device
- The device
public static int getMemBaseAddrAlign(org.jocl.cl_device_id device)
device
- The device
public static int getMinDataTypeAlignSize(org.jocl.cl_device_id device)
device
- The device
public static int getNativeVectorWidthChar(org.jocl.cl_device_id device)
device
- The device
public static int getNativeVectorWidthShort(org.jocl.cl_device_id device)
device
- The device
public static int getNativeVectorWidthInt(org.jocl.cl_device_id device)
device
- The device
public static int getNativeVectorWidthLong(org.jocl.cl_device_id device)
device
- The device
public static int getNativeVectorWidthFloat(org.jocl.cl_device_id device)
device
- The device
public static int getNativeVectorWidthDouble(org.jocl.cl_device_id device)
device
- The device
public static int getNativeVectorWidthHalf(org.jocl.cl_device_id device)
device
- The device
public static int getPreferredVectorWidthChar(org.jocl.cl_device_id device)
device
- The device
public static int getPreferredVectorWidthShort(org.jocl.cl_device_id device)
device
- The device
public static int getPreferredVectorWidthInt(org.jocl.cl_device_id device)
device
- The device
public static int getPreferredVectorWidthLong(org.jocl.cl_device_id device)
device
- The device
public static int getPreferredVectorWidthFloat(org.jocl.cl_device_id device)
device
- The device
public static int getPreferredVectorWidthDouble(org.jocl.cl_device_id device)
device
- The device
public static int getPreferredVectorWidthHalf(org.jocl.cl_device_id device)
device
- The device
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |