GET_IMAGE_HEIGHT(3clc)
β¨ GET_IMAGE_HEIGHT(3clc) β¨
okay bestie, welcome to the OpenCL Manual β section 3clc, the library-functions girlies π
. this one's about a lil function called get_image_height, and honestly? she's short, she's sweet, she tells you how tall your image is. that's it. that's the whole vibe. π
πΈ NAME πΈ
get_image_height β Return the image height in pixels.
and because she's flexible like that, she comes in three flavours π¦ β same name, different image types:
int get_image_height(image2d_t image);
int get_image_height(image3d_t image);
int get_image_height(image2d_array_t image);
π DESCRIPTION π
Return the image height in pixels.
that's it. no plot twist. no secret second meaning. she returns the image height, in pixels. periodt. π
π SPECIFICATION π
OpenCL Specification[1]
iykyk β the receipts are in the NOTES, keep scrolling boo π«Ά
π SEE ALSO π
imageFunctions(3clc)β the whole friend group, go say hi π
π 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 following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Materials.
not me putting the whole legal paragraph in here verbatim but like... it's legally required so bestie we're keeping every single word of it π don't skip it, it's not decoration
π NOTES π
- OpenCL Specification page 292, section 6.12.14 - Image Read and Write Functions
and that's the whole page, bestie!! tiny function, huge main character energy. this was brought to you by The Khronos Group, dated 01/14/2021, and filed under GET_IMAGE_HEIGHT(3clc) πΈβ¨ mwah, go read your image heights responsibly ππ¦π
π¦ 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