diff --git a/src/gallium/frontends/rusticl/api/device.rs b/src/gallium/frontends/rusticl/api/device.rs index b24717f5c27..cf4541c67dc 100644 --- a/src/gallium/frontends/rusticl/api/device.rs +++ b/src/gallium/frontends/rusticl/api/device.rs @@ -204,6 +204,9 @@ impl CLInfo for cl_device_id { CL_DEVICE_NUMERIC_VERSION => cl_prop::(dev.cl_version.into()), CL_DEVICE_OPENCL_C_ALL_VERSIONS => cl_prop::<&Vec>(&dev.clc_versions), CL_DEVICE_OPENCL_C_FEATURES => cl_prop::<&Vec>(&dev.clc_features), + CL_DEVICE_OPENCL_C_NUMERIC_VERSION_KHR => { + cl_prop::(dev.clc_version.into()) + } CL_DEVICE_OPENCL_C_VERSION => { cl_prop::<&str>(&format!("OpenCL C {} ", dev.clc_version.api_str())) } diff --git a/src/gallium/frontends/rusticl/core/platform.rs b/src/gallium/frontends/rusticl/core/platform.rs index 994dc4d4910..2e9a309db35 100644 --- a/src/gallium/frontends/rusticl/core/platform.rs +++ b/src/gallium/frontends/rusticl/core/platform.rs @@ -44,6 +44,7 @@ macro_rules! gen_cl_exts { gen_cl_exts!([ (1, 0, 0, "cl_khr_byte_addressable_store"), (1, 0, 0, "cl_khr_create_command_queue"), + (1, 0, 0, "cl_khr_extended_versioning"), (1, 0, 0, "cl_khr_icd"), (1, 0, 0, "cl_khr_il_program"), ]);