mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-25 03:58:19 +02:00
rusticl/device: put space at the end of CL_DEVICE_VERSION
Apparently some software relies on that and the spec kind of says it's there. Fixes:20c90fed5a("rusticl: added") Reported-by: sobkas Signed-off-by: Karol Herbst <kherbst@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19872> (cherry picked from commitb51eb98cf6)
This commit is contained in:
parent
3b282d2c3d
commit
949c4ec5b7
2 changed files with 2 additions and 2 deletions
|
|
@ -760,7 +760,7 @@
|
|||
"description": "rusticl/device: put space at the end of CL_DEVICE_VERSION",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "20c90fed5a0ab0202ee1ef474c71cb816164a448"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -186,7 +186,7 @@ impl CLInfo<cl_device_info> for cl_device_id {
|
|||
CL_DEVICE_TYPE => cl_prop::<cl_device_type>(dev.device_type(false)),
|
||||
CL_DEVICE_VENDOR => cl_prop(dev.screen().device_vendor()),
|
||||
CL_DEVICE_VENDOR_ID => cl_prop::<cl_uint>(dev.vendor_id()),
|
||||
CL_DEVICE_VERSION => cl_prop::<String>(format!("OpenCL {}", dev.cl_version.api_str())),
|
||||
CL_DEVICE_VERSION => cl_prop::<String>(format!("OpenCL {} ", dev.cl_version.api_str())),
|
||||
CL_DRIVER_VERSION => cl_prop::<&CStr>(unsafe { CStr::from_ptr(mesa_version_string()) }),
|
||||
CL_DEVICE_WORK_GROUP_COLLECTIVE_FUNCTIONS_SUPPORT => cl_prop::<bool>(false),
|
||||
// CL_INVALID_VALUE if param_name is not one of the supported values
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue