Clarify which half types and builtins need cl_khr_fp16 and which do not.
lakshmih opened this issue · 0 comments
lakshmih commented
Current spec sections of interest
- Spec requires cl_khr_fp16 for functions taking or returning half types as per https://registry.khronos.org/OpenCL/specs/3.0-unified/html/OpenCL_C.html#vector-data-load-and-store-functions.
- Specification for halfn requires cl_khr_fp16 as per footnote https://registry.khronos.org/OpenCL/specs/3.0-unified/html/OpenCL_C.html#_footnotedef_8
Also refer to discussion on CTS PR KhronosGroup/OpenCL-CTS#1974