This extension allows OpenCL 1.x and 2.x devices to support the clCreateBufferWithProperties API that was added in OpenCL 3.0. This allows
older OpenCL implementations to support other optional extensions or features that use the clCreateBufferWithProperties API to specify
additional buffer properties, without recreating the API that is already part of OpenCL 3.0.
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| 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 Each property name is immediately followed by the corresponding desired value. 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 such as the memory arena that should be used to allocate the buffer object and
how it will be used 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.
|
| 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 Each property name is immediately followed by the corresponding desired value. 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 such as the memory arena that should be used to allocate the buffer object and
how it will be used flags, ByteBuffer a pointer to the buffer data that may already be allocated by the application. The size of the buffer that host_ptr, IntBuffer host_ptr points to must be
greater than or equal to size bytes.will return an appropriate error code. If errcode_ret)errcode_ret is NULL, no error code is returned.
|
| 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 Each property name is immediately followed by the corresponding desired value. 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 such as the memory arena that should be used to allocate the buffer object and
how it will be used flags, ShortBuffer a pointer to the buffer data that may already be allocated by the application. The size of the buffer that host_ptr, IntBuffer host_ptr points to must be
greater than or equal to size bytes.will return an appropriate error code. If errcode_ret)errcode_ret is NULL, no error code is returned.
|
| 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 Each property name is immediately followed by the corresponding desired value. 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 such as the memory arena that should be used to allocate the buffer object and
how it will be used flags, IntBuffer a pointer to the buffer data that may already be allocated by the application. The size of the buffer that host_ptr, IntBuffer host_ptr points to must be
greater than or equal to size bytes.will return an appropriate error code. If errcode_ret)errcode_ret is NULL, no error code is returned.
|
| 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 Each property name is immediately followed by the corresponding desired value. 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 such as the memory arena that should be used to allocate the buffer object and
how it will be used flags, FloatBuffer a pointer to the buffer data that may already be allocated by the application. The size of the buffer that host_ptr, IntBuffer host_ptr points to must be
greater than or equal to size bytes.will return an appropriate error code. If errcode_ret)errcode_ret is NULL, no error code is returned.
|
| 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 Each property name is immediately followed by the corresponding desired value. 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 such as the memory arena that should be used to allocate the buffer object and
how it will be used flags, DoubleBuffer a pointer to the buffer data that may already be allocated by the application. The size of the buffer that host_ptr, IntBuffer host_ptr points to must be
greater than or equal to size bytes.will return an appropriate error code. If errcode_ret)errcode_ret is NULL, no error code is returned.
|
| public static long | clCreateBufferWithPropertiesINTEL(long context, long[] properties, long flags, ByteBuffer host_ptr, int[] errcode_ret)
Array version of: |
| public static long | clCreateBufferWithPropertiesINTEL(long context, long[] properties, long flags, short[] host_ptr, int[] errcode_ret)
Array version of: |
| public static long | clCreateBufferWithPropertiesINTEL(long context, long[] properties, long flags, int[] host_ptr, int[] errcode_ret)
Array version of: |
| public static long | clCreateBufferWithPropertiesINTEL(long context, long[] properties, long flags, float[] host_ptr, int[] errcode_ret)
Array version of: |
| public static long | clCreateBufferWithPropertiesINTEL(long context, long[] properties, long flags, double[] host_ptr, int[] errcode_ret)
Array version of: |
| public static long | nclCreateBufferWithPropertiesINTEL(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: |
| INTELCreateBufferWithProperties | back to summary |
|---|---|
| protected INTELCreateBufferWithProperties() | |
| clCreateBufferWithPropertiesINTEL | back to summary |
|---|---|
public static long clCreateBufferWithPropertiesINTEL(long context, LongBuffer properties, long flags, long size, IntBuffer errcode_ret)
| |
| clCreateBufferWithPropertiesINTEL | back to summary |
|---|---|
public static long clCreateBufferWithPropertiesINTEL(long context, LongBuffer properties, long flags, ByteBuffer host_ptr, IntBuffer errcode_ret)
| |
| clCreateBufferWithPropertiesINTEL | back to summary |
|---|---|
public static long clCreateBufferWithPropertiesINTEL(long context, LongBuffer properties, long flags, ShortBuffer host_ptr, IntBuffer errcode_ret)
| |
| clCreateBufferWithPropertiesINTEL | back to summary |
|---|---|
public static long clCreateBufferWithPropertiesINTEL(long context, LongBuffer properties, long flags, IntBuffer host_ptr, IntBuffer errcode_ret)
| |
| clCreateBufferWithPropertiesINTEL | back to summary |
|---|---|
public static long clCreateBufferWithPropertiesINTEL(long context, LongBuffer properties, long flags, FloatBuffer host_ptr, IntBuffer errcode_ret)
| |
| clCreateBufferWithPropertiesINTEL | back to summary |
|---|---|
public static long clCreateBufferWithPropertiesINTEL(long context, LongBuffer properties, long flags, DoubleBuffer host_ptr, IntBuffer errcode_ret)
| |
| clCreateBufferWithPropertiesINTEL | back to summary |
|---|---|
| public static long clCreateBufferWithPropertiesINTEL(long context, long[] properties, long flags, ByteBuffer host_ptr, int[] errcode_ret) Array version of:
| |
| clCreateBufferWithPropertiesINTEL | back to summary |
|---|---|
| public static long clCreateBufferWithPropertiesINTEL(long context, long[] properties, long flags, short[] host_ptr, int[] errcode_ret) Array version of:
| |
| clCreateBufferWithPropertiesINTEL | back to summary |
|---|---|
| public static long clCreateBufferWithPropertiesINTEL(long context, long[] properties, long flags, int[] host_ptr, int[] errcode_ret) Array version of:
| |
| clCreateBufferWithPropertiesINTEL | back to summary |
|---|---|
| public static long clCreateBufferWithPropertiesINTEL(long context, long[] properties, long flags, float[] host_ptr, int[] errcode_ret) Array version of:
| |
| clCreateBufferWithPropertiesINTEL | back to summary |
|---|---|
| public static long clCreateBufferWithPropertiesINTEL(long context, long[] properties, long flags, double[] host_ptr, int[] errcode_ret) Array version of:
| |
| nclCreateBufferWithPropertiesINTEL | back to summary |
|---|---|
| public static long nclCreateBufferWithPropertiesINTEL(long context, long properties, long flags, long size, long host_ptr, long errcode_ret) Unsafe version of:
| |