Physical Slot to GPU mapping?

Is there an API or simple command line to map a GPU to a physics slot and not a PCIE bus ID?

There is an old query on this but the answer is pretty sad: Finding the physical slot location of Nvidia GPU with an 8 GPU systems. - #2 by generix


Dear @ricpruss

Thank you for contacting NVIDIA developer forum. Our technical team has informed that NVAPI SDK does not have an API for ‘GPU to physical slot mapping’.

Thank you.

Thanks for following up @agokhale. Yes this very much falls into the very flaky responsibilities of the motherboard. It I sad with all those pages of spec the interfaces can’t get something so basic done. There is probably not much your developers can do here, this is one that needs to be solved in standards,