Description
The tables below describe the required minimum lists of supported image formats. To query all image formats supported by an implementation, call the function clGetSupportedImageFormats.
For full profile devices supporting OpenCL 2.0, 2.1, or 2.2, the minimum list of supported image formats for either reading or writing in a kernel is:
| num_channels | channel_order | channel_data_type |
|---|---|---|
1 |
|
|
1 |
Also supported if the |
|
1 |
|
|
2 |
|
|
4 |
|
|
4 |
|
|
4 |
|
|
For full profile devices supporting other OpenCL versions, such as OpenCL 1.2 or OpenCL 3.0, the minimum list of supported image formats for either reading or writing in a kernel is:
| num_channels | channel_order | channel_data_type |
|---|---|---|
4 |
|
|
4 |
|
|
For full profile devices that support reading from and writing to the same
image object from the same kernel instance (see CL_DEVICE_),
the minimum list of supported image formats for reading and writing in
the same kernel instance is:
| num_channels | channel_order | channel_data_type |
|---|---|---|
1 |
|
|
4 |
|
|
Document Notes
For more information, see the OpenCL Specification
This page is extracted from the OpenCL Specification. Fixes and changes should be made to the Specification, not directly.