GEOMETRICFUNCTIONS(3clc)
๐ GEOMETRIC BUILT-IN ๐
okay bestie, welcome to GEOMETRIC BUILT-IN(3clc) โ the lil corner of the OpenCL Manual where all the vector-math cuties live. it's giving math class but make it slay โจ
โจ NAME โจ
Geometric_Built-In_Functions โ tap an item in the list below for the deets on that function, fr fr. no gatekeeping here, every single one is linked and ready ๐ซถ
cross(3clc)โ Cross productdot(3clc)โ Dot productdistance(3clc)โ Vector distancelength(3clc)โ Vector lengthnormalize(3clc)โ Normal vector length 1fast_distance(3clc)โ Vector distancefast_length(3clc)โ Vector lengthfast_normalize(3clc)โ Normal vector length 1
not me turning the original's cute little table into a bullet list bc tables said "not today" ๐ but every entry, every page number, every description? intact. periodt.
๐ธ SPECIFICATION ๐ธ
OpenCL Specification[1] โ yeah, it's the main character source, as always ๐
๐ AUTHORS ๐
The Khronos Group โ the icons who wrote all this ๐
๐ COPYRIGHT ๐
okay so legally I have to give you the whole thing verbatim, and honestly? respect the paperwork. here it is, no cap:
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.
๐ฆ NOTES ๐ฆ
OpenCL Specificationโ page262, section6.12.5-Geometric Functions
like, if you wanna go straight to the source, that's exactly where the geometric functions section is chilling ๐
anyway bestie, that's the whole page โ written by The Khronos Group, dated 01/14/2021, filed under GEOMETRIC BUILT-IN(3clc) in the OpenCL Manual. go forth and normalize some vectors, you've got this ๐โจ๐
๐ฆ 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