The cl_khr_extended_versioning extension differs from the OpenCL 3.0
version on this specific as it only reports a single supported OpenCL C
version, whereas the OpenCL 3.0 equivalent will report all of them.
Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Pierre Moreau <dev@pmoreau.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7590>
buf.as_scalar<cl_version>() = dev.device_version();
break;
+ case CL_DEVICE_OPENCL_C_NUMERIC_VERSION_KHR:
+ buf.as_scalar<cl_version>() = dev.device_clc_version();
+ break;
+
case CL_DEVICE_OPENCL_C_ALL_VERSIONS:
buf.as_vector<cl_name_version>() = dev.opencl_c_all_versions();
break;