This extension allows OpenCL 1.x devices to support an equivalent of the CreateCommandQueueWithProperties API that was added in OpenCL 2.0. This
allows OpenCL 1.x devices to support other optional extensions or features that use the clCreateCommandQueueWithProperties API to specify
additional command queue properties that cannot be specified using the OpenCL 1.x clCreateCommandQueue API.
No new command queue properties are required by this extension. Applications may use the existing DEVICE_QUEUE_PROPERTIES query to determine command
queue properties that are supported by the device.
OpenCL 2.x devices may support this extension for compatibility. In this scenario, the function added by this extension will have the same capabilities
as the core clCreateCommandQueueWithProperties API. Applications that only target OpenCL 2.x devices should use the core OpenCL 2.x
clCreateCommandQueueWithProperties API instead of this extension API.
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description | |
|---|---|---|
| public static long | Returns: a valid non-zero command-queue anderrcode_ret is set to SUCCESS if the command-queue is created successfully. Otherwise, it returns a NULL value
with one of the following error values returned in errcode_ret:
a valid OpenCL context context, long a device associated with context. It can either be in the list of devices specified when context is created using device, LongBuffer CreateContext or have the same
device type as device type specified when context is created using CreateContextFromType.a list of properties for the command-queue and their corresponding values. Each property name is immediately followed by the corresponding desired
value. The list is terminated with properties, IntBuffer 0. If a supported property and its value is not specified in properties, its default value will be used.
properties can be NULL in which case the default values for supported command-queue properties will be used. Must be:
will return an appropriate error code. If errcode_ret)errcode_ret is NULL, no error code is returned.
| |
| public static long | clCreateCommandQueueWithPropertiesKHR(long context, long device, long[] properties, int[] errcode_ret)
Array version of: | |
| public static long | nclCreateCommandQueueWithPropertiesKHR(long context, long device, long properties, long errcode_ret)
Unsafe version of: |
| KHRCreateCommandQueue | back to summary |
|---|---|
| protected KHRCreateCommandQueue() | |
| clCreateCommandQueueWithPropertiesKHR | back to summary | |
|---|---|---|
public static long clCreateCommandQueueWithPropertiesKHR(long context, long device, LongBuffer properties, IntBuffer errcode_ret)
| ||
| clCreateCommandQueueWithPropertiesKHR | back to summary |
|---|---|
| public static long clCreateCommandQueueWithPropertiesKHR(long context, long device, long[] properties, int[] errcode_ret) Array version of:
| |
| nclCreateCommandQueueWithPropertiesKHR | back to summary |
|---|---|
| public static long nclCreateCommandQueueWithPropertiesKHR(long context, long device, long properties, long errcode_ret) Unsafe version of: | |