CL_DEVICE_TOPOLOGY_AMD Is Broken with Latest Drivers. Please Fix ASAP!

Discussion created by meriken on Jan 2, 2018
Latest reply on Jan 19, 2018 by dipak

With Radeon Software Adrenaline 17.12.2, calls to clGetDeviceInfo with CL_DEVICE_TOPOLOGY_AMD always return wrong results. You can easily see this with clinfo:


Device Topology: PCI[ B#0, D#0, F#1 ]


The results are always the same regardless of actual topology. I confirmed this bug with RX 480/470 and 7990. This horrendous bug renders AMD Display Library completely useless as there is now no way to match OpenCL devices with ADL adapters reliably. No temperature monitoring, no fan control, nothing! Please fix this bug ASAP!