| Modifier and Type | Field and Description |
|---|---|
| public static final int | CL_COMMAND_SVM_MIGRATE_MEM
|
| public static final int | CL_DEVICE_ATOMIC_FENCE_CAPABILITIES
Accepted as the |
| public static final int | CL_DEVICE_ATOMIC_MEMORY_CAPABILITIES
Accepted as the |
| public static final int | CL_DEVICE_ATOMIC_ORDER_ACQ_REL
|
| public static final int | CL_DEVICE_ATOMIC_ORDER_RELAXED
|
| public static final int | CL_DEVICE_ATOMIC_ORDER_SEQ_CST
|
| public static final int | CL_DEVICE_ATOMIC_SCOPE_ALL_DEVICES
|
| public static final int | CL_DEVICE_ATOMIC_SCOPE_DEVICE
|
| public static final int | CL_DEVICE_ATOMIC_SCOPE_WORK_GROUP
|
| public static final int | CL_DEVICE_ATOMIC_SCOPE_WORK_ITEM
|
| public static final int | CL_DEVICE_BUILT_IN_KERNELS_WITH_VERSION
Accepted as the |
| public static final int | CL_DEVICE_DEVICE_ENQUEUE_CAPABILITIES
Accepted as the |
| public static final int | CL_DEVICE_EXTENSIONS_WITH_VERSION
Accepted as the |
| public static final int | CL_DEVICE_GENERIC_ADDRESS_SPACE_SUPPORT
Accepted as the |
| public static final int | CL_DEVICE_ILS_WITH_VERSION
Accepted as the |
| public static final int | CL_DEVICE_LATEST_CONFORMANCE_VERSION_PASSED
Accepted as the |
| public static final int | CL_DEVICE_NON_UNIFORM_WORK_GROUP_SUPPORT
Accepted as the |
| public static final int | CL_DEVICE_NUMERIC_VERSION
Accepted as the |
| public static final int | CL_DEVICE_OPENCL_C_ALL_VERSIONS
Accepted as the |
| public static final int | CL_DEVICE_OPENCL_C_FEATURES
Accepted as the |
| public static final int | CL_DEVICE_PIPE_SUPPORT
Accepted as the |
| public static final int | CL_DEVICE_PREFERRED_WORK_GROUP_SIZE_MULTIPLE
Accepted as the |
| public static final int | CL_DEVICE_QUEUE_REPLACEABLE_DEFAULT
|
| public static final int | CL_DEVICE_QUEUE_SUPPORTED
|
| public static final int | CL_DEVICE_WORK_GROUP_COLLECTIVE_FUNCTIONS_SUPPORT
Accepted as the |
| public static final int | CL_MEM_PROPERTIES
Accepted as the |
| public static final int | CL_PIPE_PROPERTIES
Accepted as the |
| public static final int | CL_PLATFORM_EXTENSIONS_WITH_VERSION
Accepted as the |
| public static final int | CL_PLATFORM_NUMERIC_VERSION
Accepted as the |
| public static final int | CL_QUEUE_PROPERTIES_ARRAY
Accepted as the |
| public static final int | CL_SAMPLER_PROPERTIES
Accepted as the |
| public static final int | CL_VERSION_3_0
OpenCL Version. |
| public static final int | CL_VERSION_MAJOR_BITS
|
| public static final int | CL_VERSION_MAJOR_MASK
|
| public static final int | CL_VERSION_MINOR_BITS
|
| public static final int | CL_VERSION_MINOR_MASK
|
| public static final int | CL_VERSION_PATCH_BITS
|
| public static final int | CL_VERSION_PATCH_MASK
|
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description | |||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public static int | CL_MAKE_VERSION(int
the major version major, int the minor version minor, int the patch version patch)Returns a packed | |||||||||||||||||||||||
| public static int | CL_VERSION_MAJOR(int
a packed version)cl_versionExtracts the | |||||||||||||||||||||||
| public static int | CL_VERSION_MINOR(int
a packed version)cl_versionExtracts the | |||||||||||||||||||||||
| public static int | CL_VERSION_PATCH(int
a packed version)cl_versionExtracts the | |||||||||||||||||||||||
| public static long | Returns: a valid non-zero buffer object anderrcode_ret is set to SUCCESS if the buffer object is created successfully. Otherwise, it returns a NULL value
with one of the following error values returned in errcode_ret:
a valid OpenCL context used to create the buffer object context, LongBuffer an optional list of properties for the buffer object and their corresponding values.
properties, long The list is terminated with the special property 0. If no properties are required, a bit-field that is used to specify allocation and usage information about the image memory object being created. One of: flags, long
the size in bytes of the buffer memory object to be allocated size, IntBuffer will return an appropriate error code. If errcode_ret)errcode_ret is NULL, no error code is returned.Creates a buffer object with additional properties. | |||||||||||||||||||||||
| public static long | Returns: a valid non-zero buffer object anderrcode_ret is set to SUCCESS if the buffer object is created successfully. Otherwise, it returns a NULL value
with one of the following error values returned in errcode_ret:
a valid OpenCL context used to create the buffer object context, LongBuffer an optional list of properties for the buffer object and their corresponding values.
properties, long The list is terminated with the special property 0. If no properties are required, a bit-field that is used to specify allocation and usage information about the image memory object being created. One of: flags, ByteBuffer
a pointer to the buffer data that may already be allocated by the application.
host_ptr, IntBuffer The size of the buffer that will return an appropriate error code. If errcode_ret)errcode_ret is NULL, no error code is returned.Creates a buffer object with additional properties. | |||||||||||||||||||||||
| public static long | Returns: a valid non-zero buffer object anderrcode_ret is set to SUCCESS if the buffer object is created successfully. Otherwise, it returns a NULL value
with one of the following error values returned in errcode_ret:
a valid OpenCL context used to create the buffer object context, LongBuffer an optional list of properties for the buffer object and their corresponding values.
properties, long The list is terminated with the special property 0. If no properties are required, a bit-field that is used to specify allocation and usage information about the image memory object being created. One of: flags, ShortBuffer
a pointer to the buffer data that may already be allocated by the application.
host_ptr, IntBuffer The size of the buffer that will return an appropriate error code. If errcode_ret)errcode_ret is NULL, no error code is returned.Creates a buffer object with additional properties. | |||||||||||||||||||||||
| public static long | Returns: a valid non-zero buffer object anderrcode_ret is set to SUCCESS if the buffer object is created successfully. Otherwise, it returns a NULL value
with one of the following error values returned in errcode_ret:
a valid OpenCL context used to create the buffer object context, LongBuffer an optional list of properties for the buffer object and their corresponding values.
properties, long The list is terminated with the special property 0. If no properties are required, a bit-field that is used to specify allocation and usage information about the image memory object being created. One of: flags, IntBuffer
a pointer to the buffer data that may already be allocated by the application.
host_ptr, IntBuffer The size of the buffer that will return an appropriate error code. If errcode_ret)errcode_ret is NULL, no error code is returned.Creates a buffer object with additional properties. | |||||||||||||||||||||||
| public static long | Returns: a valid non-zero buffer object anderrcode_ret is set to SUCCESS if the buffer object is created successfully. Otherwise, it returns a NULL value
with one of the following error values returned in errcode_ret:
a valid OpenCL context used to create the buffer object context, LongBuffer an optional list of properties for the buffer object and their corresponding values.
properties, long The list is terminated with the special property 0. If no properties are required, a bit-field that is used to specify allocation and usage information about the image memory object being created. One of: flags, FloatBuffer
a pointer to the buffer data that may already be allocated by the application.
host_ptr, IntBuffer The size of the buffer that will return an appropriate error code. If errcode_ret)errcode_ret is NULL, no error code is returned.Creates a buffer object with additional properties. | |||||||||||||||||||||||
| public static long | Returns: a valid non-zero buffer object anderrcode_ret is set to SUCCESS if the buffer object is created successfully. Otherwise, it returns a NULL value
with one of the following error values returned in errcode_ret:
a valid OpenCL context used to create the buffer object context, LongBuffer an optional list of properties for the buffer object and their corresponding values.
properties, long The list is terminated with the special property 0. If no properties are required, a bit-field that is used to specify allocation and usage information about the image memory object being created. One of: flags, DoubleBuffer
a pointer to the buffer data that may already be allocated by the application.
host_ptr, IntBuffer The size of the buffer that will return an appropriate error code. If errcode_ret)errcode_ret is NULL, no error code is returned.Creates a buffer object with additional properties. | |||||||||||||||||||||||
| public static long | clCreateBufferWithProperties(long context, long[] properties, long flags, ByteBuffer host_ptr, int[] errcode_ret)
Array version of: | |||||||||||||||||||||||
| public static long | clCreateBufferWithProperties(long context, long[] properties, long flags, short[] host_ptr, int[] errcode_ret)
Array version of: | |||||||||||||||||||||||
| public static long | clCreateBufferWithProperties(long context, long[] properties, long flags, int[] host_ptr, int[] errcode_ret)
Array version of: | |||||||||||||||||||||||
| public static long | clCreateBufferWithProperties(long context, long[] properties, long flags, float[] host_ptr, int[] errcode_ret)
Array version of: | |||||||||||||||||||||||
| public static long | clCreateBufferWithProperties(long context, long[] properties, long flags, double[] host_ptr, int[] errcode_ret)
Array version of: | |||||||||||||||||||||||
| public static long | Returns: a valid non-zero image object and theerrcode_ret is set to SUCCESS if the image object is created successfully. Otherwise, it returns a NULL
value with one of the following error values returned in errcode_ret:
a valid OpenCL context used to create the image object context, LongBuffer an optional list of properties for the image object and their corresponding values.
properties, long The list is terminated with the special property 0. If no properties are required, properties may be a bit-field that is used to specify allocation and usage information about the image memory object being created.
flags, CLImageFormat For all image types except For
a pointer to a structure that describes format properties of the image to be allocated.
image_format, CLImageDesc A 1D image buffer or 2D image can be created from a buffer by specifying a buffer object in the a pointer to a structure that describes type and dimensions of the image to be allocated image_desc, ByteBuffer a pointer to the image data that may already be allocated by the application.
host_ptr, IntBuffer Refer to table below for a description of how large the buffer that
will return an appropriate error code. If errcode_ret)errcode_ret is NULL, no error code is returned.Creates an image object with additional properties. | |||||||||||||||||||||||
| public static long | Returns: a valid non-zero image object and theerrcode_ret is set to SUCCESS if the image object is created successfully. Otherwise, it returns a NULL
value with one of the following error values returned in errcode_ret:
a valid OpenCL context used to create the image object context, LongBuffer an optional list of properties for the image object and their corresponding values.
properties, long The list is terminated with the special property 0. If no properties are required, properties may be a bit-field that is used to specify allocation and usage information about the image memory object being created.
flags, CLImageFormat For all image types except For
a pointer to a structure that describes format properties of the image to be allocated.
image_format, CLImageDesc A 1D image buffer or 2D image can be created from a buffer by specifying a buffer object in the a pointer to a structure that describes type and dimensions of the image to be allocated image_desc, ShortBuffer a pointer to the image data that may already be allocated by the application.
host_ptr, IntBuffer Refer to table below for a description of how large the buffer that
will return an appropriate error code. If errcode_ret)errcode_ret is NULL, no error code is returned.Creates an image object with additional properties. | |||||||||||||||||||||||
| public static long | Returns: a valid non-zero image object and theerrcode_ret is set to SUCCESS if the image object is created successfully. Otherwise, it returns a NULL
value with one of the following error values returned in errcode_ret:
a valid OpenCL context used to create the image object context, LongBuffer an optional list of properties for the image object and their corresponding values.
properties, long The list is terminated with the special property 0. If no properties are required, properties may be a bit-field that is used to specify allocation and usage information about the image memory object being created.
flags, CLImageFormat For all image types except For
a pointer to a structure that describes format properties of the image to be allocated.
image_format, CLImageDesc A 1D image buffer or 2D image can be created from a buffer by specifying a buffer object in the a pointer to a structure that describes type and dimensions of the image to be allocated image_desc, IntBuffer a pointer to the image data that may already be allocated by the application.
host_ptr, IntBuffer Refer to table below for a description of how large the buffer that
will return an appropriate error code. If errcode_ret)errcode_ret is NULL, no error code is returned.Creates an image object with additional properties. | |||||||||||||||||||||||
| public static long | Returns: a valid non-zero image object and theerrcode_ret is set to SUCCESS if the image object is created successfully. Otherwise, it returns a NULL
value with one of the following error values returned in errcode_ret:
a valid OpenCL context used to create the image object context, LongBuffer an optional list of properties for the image object and their corresponding values.
properties, long The list is terminated with the special property 0. If no properties are required, properties may be a bit-field that is used to specify allocation and usage information about the image memory object being created.
flags, CLImageFormat For all image types except For
a pointer to a structure that describes format properties of the image to be allocated.
image_format, CLImageDesc A 1D image buffer or 2D image can be created from a buffer by specifying a buffer object in the a pointer to a structure that describes type and dimensions of the image to be allocated image_desc, FloatBuffer a pointer to the image data that may already be allocated by the application.
host_ptr, IntBuffer Refer to table below for a description of how large the buffer that
will return an appropriate error code. If errcode_ret)errcode_ret is NULL, no error code is returned.Creates an image object with additional properties. | |||||||||||||||||||||||
| public static long | clCreateImageWithProperties(long context, long[] properties, long flags, CLImageFormat image_format, CLImageDesc image_desc, ByteBuffer host_ptr, int[] errcode_ret)
Array version of: | |||||||||||||||||||||||
| public static long | clCreateImageWithProperties(long context, long[] properties, long flags, CLImageFormat image_format, CLImageDesc image_desc, short[] host_ptr, int[] errcode_ret)
Array version of: | |||||||||||||||||||||||
| public static long | clCreateImageWithProperties(long context, long[] properties, long flags, CLImageFormat image_format, CLImageDesc image_desc, int[] host_ptr, int[] errcode_ret)
Array version of: | |||||||||||||||||||||||
| public static long | clCreateImageWithProperties(long context, long[] properties, long flags, CLImageFormat image_format, CLImageDesc image_desc, float[] host_ptr, int[] errcode_ret)
Array version of: | |||||||||||||||||||||||
| public static int | Returns: SUCCESS if the function is executed successfully. Otherwise, it returns one of the following errors:
specifies the OpenCL context to register the callback to context, CLContextDestructorCallbackI the callback function to register.
pfn_notify, long This callback function may be called asynchronously by the OpenCL implementation. It is the application’s responsibility to ensure that the callback function is thread-safe. will be passed as the user_data)user_data argument when pfn_notify is called. user_data can be NULL.Registers a callback function with a context that is called when the context is destroyed. | |||||||||||||||||||||||
| public static long | nclCreateBufferWithProperties(long context, long properties, long flags, long
the size in bytes of the buffer memory object to be allocated size, long host_ptr, long errcode_ret)Unsafe version of: | |||||||||||||||||||||||
| public static long | nclCreateImageWithProperties(long context, long properties, long flags, long image_format, long image_desc, long host_ptr, long errcode_ret)
Unsafe version of: | |||||||||||||||||||||||
| public static int | nclSetContextDestructorCallback(long context, long pfn_notify, long user_data)
Unsafe version of: |