This extension adds support for implementation-controlled groups of work items, known as subgroups. Subgroups behave similarly to work groups and have their own sets of built-ins and synchronization primitives. Subgroups within a work group are independent, may make forward progress with respect to each other, and may map to optimized hardware structures where that makes sense.
Subgroups were promoted to a core feature in OpenCL 2.1, however note that:
DEVICE_SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS.| Modifier and Type | Field and Description |
|---|---|
| public static final int | CL_KERNEL_MAX_SUB_GROUP_SIZE_FOR_NDRANGE_KHR
Accepted as the |
| public static final int | CL_KERNEL_SUB_GROUP_COUNT_FOR_NDRANGE_KHR
Accepted as the |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description | ||
|---|---|---|---|
| public static int | clGetKernelSubGroupInfoKHR(long
the kernel object being queried kernel, long identifies a specific device in the list of devices associated with device, int kernel. The list of devices is the list of devices in the OpenCL
context that is associated with kernel. If the list of devices associated with kernel is a single device, device can be a
NULL value.specifies the information to query. One of: param_name, ByteBuffer
a pointer to memory where the appropriate parameterization of the query is passed from. If input_value, ByteBuffer input_value is NULL it is ignored.a pointer to memory where the appropriate result being queried is returned. If param_value, PointerBuffer param_value is NULL, it is ignored.the actual size in bytes of data being queried by param_value_size_ret)param_value. If NULL, it is ignored.Returns information about a kernel object. | ||
| public static int | clGetKernelSubGroupInfoKHR(long
the kernel object being queried kernel, long identifies a specific device in the list of devices associated with device, int kernel. The list of devices is the list of devices in the OpenCL
context that is associated with kernel. If the list of devices associated with kernel is a single device, device can be a
NULL value.specifies the information to query. One of: param_name, ByteBuffer
a pointer to memory where the appropriate parameterization of the query is passed from. If input_value, PointerBuffer input_value is NULL it is ignored.a pointer to memory where the appropriate result being queried is returned. If param_value, PointerBuffer param_value is NULL, it is ignored.the actual size in bytes of data being queried by param_value_size_ret)param_value. If NULL, it is ignored.Returns information about a kernel object. | ||
| public static int | nclGetKernelSubGroupInfoKHR(long kernel, long device, int param_name, long
specifies the size in bytes of memory pointed to by input_value_size, long input_value, long input_value. This size must be equal to the size of the input type.the size in bytes of memory pointed to by param_value_size, long param_value, long param_value_size_ret)param_value. This size must be ≥ size of return type. If param_value is NULL, it is ignored.Unsafe version of: |
| CL_KERNEL_MAX_SUB_GROUP_SIZE_FOR_NDRANGE_KHR | back to summary |
|---|---|
| public static final int CL_KERNEL_MAX_SUB_GROUP_SIZE_FOR_NDRANGE_KHR Accepted as the | |
| CL_KERNEL_SUB_GROUP_COUNT_FOR_NDRANGE_KHR | back to summary |
|---|---|
| public static final int CL_KERNEL_SUB_GROUP_COUNT_FOR_NDRANGE_KHR Accepted as the | |
| KHRSubgroups | back to summary |
|---|---|
| protected KHRSubgroups() | |
| clGetKernelSubGroupInfoKHR | back to summary | ||
|---|---|---|---|
| public static int clGetKernelSubGroupInfoKHR(long kernel, long device, int param_name, ByteBuffer input_value, ByteBuffer param_value, PointerBuffer param_value_size_ret) Returns information about a kernel object.
| |||
| clGetKernelSubGroupInfoKHR | back to summary | ||
|---|---|---|---|
| public static int clGetKernelSubGroupInfoKHR(long kernel, long device, int param_name, ByteBuffer input_value, PointerBuffer param_value, PointerBuffer param_value_size_ret) Returns information about a kernel object.
| |||
| nclGetKernelSubGroupInfoKHR | back to summary |
|---|---|
| public static int nclGetKernelSubGroupInfoKHR(long kernel, long device, int param_name, long input_value_size, long input_value, long param_value_size, long param_value, long param_value_size_ret) Unsafe version of:
| |