Package | Description |
---|---|
com.jogamp.opencl |
High level java bindings to OpenCL.
|
Modifier and Type | Method and Description |
---|---|
int |
CLDevice.getAddressBits()
The default compute device address space size specified in bits.
|
CLVersion |
CLDevice.getCVersion()
Returns the OpenCL-C version supported by the device.
|
EnumSet<CLDevice.FPConfig> |
CLDevice.getDoubleFPConfig()
Returns the optional double precision floating-point capability of the device.
|
String |
CLDevice.getDriverVersion()
Returns OpenCL software driver version string in the form major_number.minor_number.
|
EnumSet<CLDevice.Capabilities> |
CLDevice.getExecutionCapabilities()
Returns the execution capabilities as EnumSet.
|
Set<String> |
CLDevice.getExtensions()
Returns all device extension names as unmodifiable Set.
|
Set<String> |
CLPlatform.getExtensions()
Returns all platform extension names as unmodifiable Set.
|
long |
CLDevice.getGlobalMemCachelineSize()
Returns the size of global memory cache line in bytes.
|
long |
CLDevice.getGlobalMemCacheSize()
Returns the size of global memory cache in bytes.
|
CLDevice.GlobalMemCacheType |
CLDevice.getGlobalMemCacheType()
Returns the type of global memory cache supported.
|
long |
CLDevice.getGlobalMemSize()
Returns the global memory size in bytes.
|
EnumSet<CLDevice.FPConfig> |
CLDevice.getHalfFPConfig()
Returns the optional half precision floating-point capability of the device.
|
String |
CLPlatform.getICDSuffix()
Returns the ICD suffix.
|
long |
CLDevice.getLocalMemSize()
Returns the local memory size in bytes.
The minimum OpenCL 1.0 value is 16 KB. The minimum OpenCL 1.1 value is 32 KB. |
CLDevice.LocalMemType |
CLDevice.getLocalMemType()
Returns the local memory type.
|
int |
CLDevice.getMaxClockFrequency()
Returns the maximum configured clock frequency of the device in MHz.
|
int |
CLDevice.getMaxComputeUnits()
Returns the number of parallel compute cores on the OpenCL device.
|
long |
CLDevice.getMaxConstantArgs()
Returns the max number of arguments declared with the
constant
qualifier in a kernel. |
long |
CLDevice.getMaxConstantBufferSize()
Returns the max size in bytes of a constant buffer allocation.
|
int |
CLDevice.getMaxImage2dHeight()
Returns the max height of 2D image in pixels.
|
int |
CLDevice.getMaxImage2dWidth()
Returns the max width of 2D image in pixels.
|
int |
CLDevice.getMaxImage3dDepth()
Returns the max depth of 3D image in pixels.
|
int |
CLDevice.getMaxImage3dHeight()
Returns the max height of 3D image in pixels.
|
int |
CLDevice.getMaxImage3dWidth()
Returns the max width of 3D image in pixels.
|
long |
CLDevice.getMaxMemAllocSize()
Returns the largest allocatable size of a
CLBuffer on this device. |
long |
CLDevice.getMaxParameterSize()
Returns the max size in bytes of the arguments that can be passed to a kernel.
The minimum OpenCL 1.0 value is 256. The minimum OpenCL 1.1 value is 1024. |
int |
CLDevice.getMaxReadImageArgs()
Returns the max number of simultaneous image objects that can be read by a kernel.
|
int |
CLDevice.getMaxSamplers()
Returns the maximum number of samplers that can be used in a kernel.
|
int |
CLDevice.getMaxWorkGroupSize()
Returns the maximum number of work-items in a work-group executing
a kernel using the data parallel execution model.
|
int |
CLDevice.getMaxWorkItemDimensions()
Returns the maximum dimensions that specify the global and local work-item
IDs used by the data parallel execution model.
|
int[] |
CLDevice.getMaxWorkItemSizes()
Returns the maximum number of work-items that can be specified in each
dimension of the work-group.
|
int |
CLDevice.getMaxWriteImageArgs()
Returns the max number of simultaneous image objects that can be written by a kernel.
|
String |
CLDevice.getName()
Returns the name of this device.
|
String |
CLPlatform.getName()
Returns the platform name.
|
int |
CLDevice.getNativeCharVectorWidth()
Native vector width size for built-in char vectors.
|
int |
CLDevice.getNativeDoubleVectorWidth()
Native vector width size for built-in double vectors.
|
int |
CLDevice.getNativeFloatVectorWidth()
Native vector width size for built-in float vectors.
|
int |
CLDevice.getNativeHalfVectorWidth()
Native vector width size for built-in half vectors.
|
int |
CLDevice.getNativeIntVectorWidth()
Native vector width size for built-in int vectors.
|
int |
CLDevice.getNativeLongVectorWidth()
Native vector width size for built-in long vectors.
|
int |
CLDevice.getNativeShortVectorWidth()
Native vector width size for built-in short vectors.
|
int |
CLDevice.getPreferredCharVectorWidth()
Preferred native vector width size for built-in char vectors.
|
int |
CLDevice.getPreferredDoubleVectorWidth()
Preferred native vector width size for built-in double vectors.
|
int |
CLDevice.getPreferredFloatVectorWidth()
Preferred native vector width size for built-in float vectors.
|
int |
CLDevice.getPreferredIntVectorWidth()
Preferred native vector width size for built-in int vectors.
|
int |
CLDevice.getPreferredLongVectorWidth()
Preferred native vector width size for built-in long vectors.
|
int |
CLDevice.getPreferredShortVectorWidth()
Preferred native vector width size for built-in short vectors.
|
String |
CLDevice.getProfile()
Returns the OpenCL profile of this device.
|
String |
CLPlatform.getProfile()
Returns the platform profile.
|
long |
CLDevice.getProfilingTimerResolution()
Returns the resolution of device timer.
|
EnumSet<CLCommandQueue.Mode> |
CLDevice.getQueueProperties()
Returns the command-queue properties supported by the device.
|
EnumSet<CLDevice.FPConfig> |
CLDevice.getSingleFPConfig()
Returns the single precision floating-point capability of the device.
|
CLDevice.Type |
CLDevice.getType()
Returns the type of this device.
|
String |
CLDevice.getVendor()
Returns the vendor of this device.
|
String |
CLPlatform.getVendor()
Returns the platform vendor.
|
long |
CLDevice.getVendorID()
Returns the vendor id of this device.
|
CLVersion |
CLDevice.getVersion()
Returns the OpenCL version supported by the device.
|
CLVersion |
CLPlatform.getVersion()
Returns the OpenCL version supported by this platform.
|
boolean |
CLDevice.isAvailable()
Returns true if this device is available.
|
boolean |
CLDevice.isCompilerAvailable()
Returns false if the implementation does not have a compiler available to
compile the program source.
|
boolean |
CLDevice.isDoubleFPAvailable()
Returns
CLDevice.isExtensionAvailable(java.lang.String) ("cl_khr_fp64"). |
boolean |
CLDevice.isErrorCorrectionSupported()
Returns true if the device implements error correction for the memories,
caches, registers etc.
|
boolean |
CLDevice.isGLMemorySharingSupported()
Returns
CLDevice.isExtensionAvailable(java.lang.String) ("cl_khr_gl_sharing") || CLDevice.isExtensionAvailable(java.lang.String) ("cl_APPLE_gl_sharing"). |
boolean |
CLDevice.isHalfFPAvailable()
Returns
CLDevice.isExtensionAvailable(java.lang.String) ("cl_khr_fp16"). |
boolean |
CLDevice.isImageSupportAvailable()
Returns true if images are supported by the OpenCL device and false otherwise.
|
boolean |
CLDevice.isLittleEndian()
Returns true if the OpenCL device is a little endian device and false otherwise.
|
boolean |
CLDevice.isMemoryUnified()
Returns true if the device and the host have a unified memory subsystem.
|