Top Description Fields Constructors Methods
org.lwjgl.opencl

public Class KHRExtendedVersioning

extends Object
Class Inheritance
Imports
org.lwjgl.system.*

Native bindings to the khr_extended_versioning extension.

This extension introduces new platform and device queries that return detailed version information to applications.

It makes it possible to return the exact revision of the specification or intermediate languages supported by an implementation. It also enables implementations to communicate a version number for each of the extensions they support and remove the requirement for applications to process strings to test for the presence of an extension or intermediate language or built-in kernel.

This extension introduces a new scheme to encode detailed (major, minor, patch/revision) version information into a single 32-bit unsigned integer:

This scheme enables two versions to be ordered using the standard C/C++ operators. Macros are provided to extract individual fields or compose a full version from the individual fields.

Field Summary

Modifier and TypeField and Description
public static final int
CL_DEVICE_BUILT_IN_KERNELS_WITH_VERSION_KHR

Returns an array of descriptions for the built-in kernels supported by the device.

public static final int
CL_DEVICE_EXTENSIONS_WITH_VERSION_KHR

Returns an array of description (name and version) structures.

public static final int
CL_DEVICE_ILS_WITH_VERSION_KHR

Returns an array of descriptions (name and version) for all supported Intermediate Languages.

public static final int
CL_DEVICE_NUMERIC_VERSION_KHR

Returns detailed (major, minor, patch) numeric version information.

public static final int
CL_DEVICE_OPENCL_C_NUMERIC_VERSION_KHR

Returns detailed (major, minor, patch) numeric version information.

public static final int
CL_PLATFORM_EXTENSIONS_WITH_VERSION_KHR

Returns an array of description (name and version) structures.

public static final int
CL_PLATFORM_NUMERIC_VERSION_KHR

Returns detailed (major, minor, patch) numeric version information.

public static final int
public static final int
public static final int
public static final int
public static final int
public static final int

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static int
CL_MAKE_VERSION_KHR(int
the major version number
major
,
int
the minor version number
minor
,
int
the patch version number
patch
)

public static int
CL_VERSION_MAJOR_KHR(int version)

public static int
CL_VERSION_MINOR_KHR(int version)

public static int
CL_VERSION_PATCH_KHR(int version)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

CL_DEVICE_BUILT_IN_KERNELS_WITH_VERSION_KHRback to summary
public static final int CL_DEVICE_BUILT_IN_KERNELS_WITH_VERSION_KHR

Returns an array of descriptions for the built-in kernels supported by the device. (cl_name_version_khr[])

Each built-in kernel may only be reported once. The list of reported kernels must match the list returned via DEVICE_BUILT_IN_KERNELS.

CL_DEVICE_EXTENSIONS_WITH_VERSION_KHRback to summary
public static final int CL_DEVICE_EXTENSIONS_WITH_VERSION_KHR

Returns an array of description (name and version) structures. (cl_name_version_khr[])

The same extension name must not be reported more than once. The list of extensions reported must match the list reported via DEVICE_EXTENSIONS.

CL_DEVICE_ILS_WITH_VERSION_KHRback to summary
public static final int CL_DEVICE_ILS_WITH_VERSION_KHR

Returns an array of descriptions (name and version) for all supported Intermediate Languages. (cl_name_version_khr[])

Intermediate Languages with the same name may be reported more than once but each name and major/minor version combination may only be reported once. The list of intermediate languages reported must match the list reported via DEVICE_IL_VERSION.

CL_DEVICE_NUMERIC_VERSION_KHRback to summary
public static final int CL_DEVICE_NUMERIC_VERSION_KHR

Returns detailed (major, minor, patch) numeric version information. (cl_version_khr)

The major and minor version numbers returned must match those returned via DEVICE_VERSION.

CL_DEVICE_OPENCL_C_NUMERIC_VERSION_KHRback to summary
public static final int CL_DEVICE_OPENCL_C_NUMERIC_VERSION_KHR

Returns detailed (major, minor, patch) numeric version information. (cl_version_khr)

The major and minor version numbers returned must match those returned via DEVICE_OPENCL_C_VERSION.

CL_PLATFORM_EXTENSIONS_WITH_VERSION_KHRback to summary
public static final int CL_PLATFORM_EXTENSIONS_WITH_VERSION_KHR

Returns an array of description (name and version) structures. (cl_name_version_khr[])

The same extension name must not be reported more than once. The list of extensions reported must match the list reported via PLATFORM_EXTENSIONS.

CL_PLATFORM_NUMERIC_VERSION_KHRback to summary
public static final int CL_PLATFORM_NUMERIC_VERSION_KHR

Returns detailed (major, minor, patch) numeric version information. (cl_version_khr)

The major and minor version numbers returned must match those returned via PLATFORM_VERSION.

CL_VERSION_MAJOR_BITS_KHRback to summary
public static final int CL_VERSION_MAJOR_BITS_KHR
CL_VERSION_MAJOR_MASK_KHRback to summary
public static final int CL_VERSION_MAJOR_MASK_KHR
CL_VERSION_MINOR_BITS_KHRback to summary
public static final int CL_VERSION_MINOR_BITS_KHR
CL_VERSION_MINOR_MASK_KHRback to summary
public static final int CL_VERSION_MINOR_MASK_KHR
CL_VERSION_PATCH_BITS_KHRback to summary
public static final int CL_VERSION_PATCH_BITS_KHR
CL_VERSION_PATCH_MASK_KHRback to summary
public static final int CL_VERSION_PATCH_MASK_KHR

Constructor Detail

KHRExtendedVersioningback to summary
protected KHRExtendedVersioning()

Method Detail

CL_MAKE_VERSION_KHRback to summary
public static int CL_MAKE_VERSION_KHR(int major, int minor, int patch)
Parameters
major:int

the major version number

minor:int

the minor version number

patch:int

the patch version number

Annotations
@NativeType:uint32_t
CL_VERSION_MAJOR_KHRback to summary
public static int CL_VERSION_MAJOR_KHR(int version)
Annotations
@NativeType:uint32_t
CL_VERSION_MINOR_KHRback to summary
public static int CL_VERSION_MINOR_KHR(int version)
Annotations
@NativeType:uint32_t
CL_VERSION_PATCH_KHRback to summary
public static int CL_VERSION_PATCH_KHR(int version)
Annotations
@NativeType:uint32_t