Package org.lwjgl.opencl
Class NVDeviceAttributeQuery
java.lang.Object
org.lwjgl.opencl.NVDeviceAttributeQuery
Native bindings to the nv_device_attribute_query extension.
This extension provides a mechanism to query device attributes specific to NVIDIA hardware. This will enable the programmer to optimize OpenCL kernels based on the specifics of the hardware.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intReturns the major revision number that defines the CUDA compute capability of the device.static final intReturns the minor revision number that defines the CUDA compute capability of the device.static final intstatic final intstatic final intstatic final intMaximum number of 32-bit registers available to a work-group; this number is shared by all work-groups simultaneously resident on a multiprocessor.static final intWarp size in work-items. -
Method Summary
-
Field Details
-
CL_DEVICE_COMPUTE_CAPABILITY_MAJOR_NV
public static final int CL_DEVICE_COMPUTE_CAPABILITY_MAJOR_NVReturns the major revision number that defines the CUDA compute capability of the device.- See Also:
-
CL_DEVICE_COMPUTE_CAPABILITY_MINOR_NV
public static final int CL_DEVICE_COMPUTE_CAPABILITY_MINOR_NVReturns the minor revision number that defines the CUDA compute capability of the device.- See Also:
-
CL_DEVICE_REGISTERS_PER_BLOCK_NV
public static final int CL_DEVICE_REGISTERS_PER_BLOCK_NVMaximum number of 32-bit registers available to a work-group; this number is shared by all work-groups simultaneously resident on a multiprocessor.- See Also:
-
CL_DEVICE_WARP_SIZE_NV
public static final int CL_DEVICE_WARP_SIZE_NVWarp size in work-items.- See Also:
-
CL_DEVICE_GPU_OVERLAP_NV
public static final int CL_DEVICE_GPU_OVERLAP_NVReturnsTRUEif the device can concurrently copy memory between host and device while executing a kernel, orFALSEif not.- See Also:
-
CL_DEVICE_KERNEL_EXEC_TIMEOUT_NV
public static final int CL_DEVICE_KERNEL_EXEC_TIMEOUT_NV- See Also:
-
CL_DEVICE_INTEGRATED_MEMORY_NV
public static final int CL_DEVICE_INTEGRATED_MEMORY_NV- See Also:
-