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!