CL_KHR_FP64(3clc)
π CL_KHR_FP64 π
okay bestie, this is a page from the OpenCL Manual and it's all about cl_khr_fp64, so let's get into it β¨
β¨ NAME β¨
cl_khr_fp64 β this one's just here for backward compatibility, bestie, and only if double floating-point precision is even a thing on your device π
#pragma OPENCL EXTENSION cl_khr_fp64 :
enable
πΈ DESCRIPTION πΈ
so here's the tea β: the 64-bit double scalar and the vector types that go with it are optional types. you get them if CL_DEVICE_DOUBLE_FP_CONFIG β over in the table of allowed values for param_name for clGetDeviceInfo(3clc) β is not zero for your device. no cap, that's the whole vibe check π₯
and the double data type has to confirm to the IEEE-754 double precision storage format. that's non-negotiable, periodt π
π SPECIFICATION π
OpenCL Specification[1] π
π SEE ALSO π
π«Ά 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.
π NOTES π
- OpenCL Specification β page 46, section 4.2 - Querying Devices π
and that's the whole page, bestie!! π huge thanks to The Khronos Group for writing it, version vibes from 01/14/2021, and it's filed under CL_KHR_FP64(3clc) in the OpenCL Manual. mwah πβ¨π
π¦ 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