Commit 176bbcbc797f434fac0d0addd74d0c5ace562f1e

Con Kolivas 2012-01-30T09:44:19

Display GPU ordering remapping in verbose mode.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/adl.c b/adl.c
index 156b006..3ea4a06 100644
--- a/adl.c
+++ b/adl.c
@@ -280,6 +280,9 @@ void init_adl(int nDevs)
 #endif
 					virtual_gpu++;
 			}
+			if (virtual_gpu != i)
+				applog(LOG_INFO, "Mapping device %d to GPU %d according to Bus Number order",
+				       i, virtual_gpu);
 			vadapters[virtual_gpu].virtual_gpu = i;
 			vadapters[virtual_gpu].id = adapters[i].id;
 		}