SUPPORTEDIMAGEFORMATS(3clc)
πΈ SUPPORTED_IMAGE_FORMATS πΈ
okay so bestie, welcome to the OpenCL Manual β yes this whole thing lives in the 3clc section of the manual, and today we're doing the image formats page. it's short, it's iconic, it's giving reference-table realness π
β¨ NAME β¨
Supported_Image_Formats β Supported Image Formats
π DESCRIPTION π
so for read-write or write-only 2D and 3D images, there's a whole minimum list of supported image formats, and it's given by the table below. the table has three columns: image_num_channels, image_channel_order, and image_channel_data_type. here's the whole thing, transcribed with love π«Ά
image_num_channels=4,image_channel_order=CL_RGBA, and thenimage_channel_data_typecan be any one of these:CL_UNORM_INT8CL_UNORM_INT16CL_SIGNED_INT8CL_SIGNED_INT16CL_SIGNED_INT32CL_UNSIGNED_INT8CL_UNSIGNED_INT16CL_UNSIGNED_INT32CL_HALF_FLOATCL_FLOAT
image_num_channels=4,image_channel_order=CL_BGRA, andimage_channel_data_typeis:CL_UNORM_INT8
and that's literally the whole minimum list, no cap. those blank lines in the original table were just vibes spacing, not extra formats π
π SPECIFICATION π
OpenCL Specification[1]
π SEE ALSO π
go read these next, bestie, they're all connected:
π AUTHORS π
The Khronos Group
π COPYRIGHT π
Copyright Β© 2007-2011 The Khronos Group Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and/or associated documentation files (the "Materials"), to deal in the Materials without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Materials, and to permit persons to whom the Materials are furnished to do so, subject to the condition that this copyright notice and permission notice shall be included in all copies or substantial portions of the Materials.
fr fr do not strip that notice out of your copies, that's the whole deal of the license π
π NOTES π
- OpenCL Specification β page 97, section 5.3.2.1 - Supported Image Formats
and that's the page, bestie!! π the source/version + date situation at the bottom says The Khronos Group, 01/14/2021, and it's the SUPPORTED IMAGE FORM(3clc) footer. slay, go read your image formats, periodt ππ¦
π¦ where this page comes from
- ubuntu jammy: opencl-1.2-man-doc 1.0~svn33624-5 Β· other
- ubuntu noble: opencl-1.2-man-doc 1.0~svn33624-5 Β· other
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms