6bolt

Find Device Topology on Windows

Discussion created by 6bolt on Apr 7, 2013
Latest reply on Apr 11, 2013 by 6bolt

When will the 'CL_DEVICE_TOPOLOGY_AMD' be available on a Windows machine? I am writing code for multiple GPUs and need to map the GPUs to the PCIe bus numbers. It looks like it is impossible on a Windows machine. On a Linux you can do a 'clGetDeviceInfo' call and get the topology of the device.

 

I tried it on a Windows machine for fun, and it returns a -30, which is a 'CL_INVALID_VALUE'.

 

So, can anyone tell me when 'CL_DEVICE_TOPOLOGY_AMD'  will be available on Windows? Or does anyone now how to map GPUs to PCIe bus numbers using OpenCL?

 

Thanks.

Outcomes