Commit
3b683bf87b6de03007d5035aaefb0d05d6926451
by brice.goglinhwloc/opencl.h: fix AMD OpenCL device locality when PCI bus/device >= 128
cl_device_topology_amd stores the PCI bus/device/function as cl_char (signed).
bus/device can be >= 128 and those don't cast correctly to unsigned int.
Applications that call the inline function hwloc_opencl_get_device_pci_busid()
directly must be recompiled to get this fix.
Thanks to Edgar Leon for reporting the issue (some AMD OpenCL devices were
not inserted in the PCI parent while RSMI devices were fine).
Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
(cherry picked from commit 93692657413a8cfe2f8e963e7fdfa5ce14dd6965)