Hello DSTM.
Could you please change GPU sorting method ? We need what GPUs are sorted by physical bus index (it matches AfterBurner list of GPUs)
ZM uses CUDA_DEVICE_ORDER. Nvidia specifies it's default behaviour like this:
FASTEST_FIRST causes CUDA to guess which device is fastest using a simple heuristic, and make that device 0, leaving the order of the rest of the devices unspecified.
The default behaviour can be changed by setting the environment variable 'CUDA_DEVICE_ORDER' to 'PCI_BUS_ID' which causes CUDA to order the devices by '... PCI bus ID in ascending order'.
The documentation for this is located at:
http://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#env-vars