GET_IMAGE_WIDTH(3clc)
β¨ GET_IMAGE_WIDTH β¨
okay so this is a page from the OpenCL Manual bestie, and it's literally just about one lil function that tells you how wide your image is π
πΈ NAME πΈ
get_image_width β returns the image width, in pixels π
int get_image_width(image1d_t image);
int get_image_width(image1d_buffer_t image);
int get_image_width(image2d_t image);
int get_image_width(image3d_t image);
int get_image_width(image1d_array_t image);
int get_image_width(image2d_array_t image);
like. she's an overloaded queen and she works with every image type you got π
π DESCRIPTION π
Return the image width in pixels. that's it. that's the whole thing. she's simple, she's iconic, she ate π
π SPECIFICATION π
OpenCL Specification[1] β¨
π¦ SEE ALSO π¦
imageFunctions(3clc)β go read the whole squad, iykyk
π 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.
ngl bestie the lawyers wrote that part, not me, so we keep it word for word π
π NOTES π
- OpenCL Specification β page 311, section 6.12.14.5 - Built-in Image Query Functions π
and that's the whole page!! mwah π β this lil cutie is brought to you by The Khronos Group, dated 01/14/2021, and she lives in the GET_IMAGE_WIDTH(3clc) directory like the main character she is π«Άβ¨π
π¦ 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