@@ -89,12 +89,25 @@ These controls can be enabled via `cliloader`, by specifying the `--mdapi-tbs` o
89
89
90
90
* https://github.com/intel/metrics-library
91
91
92
+ * On Linux, some GPUs (specifically the "Gen11" and "Gen12"-based GPUs,
93
+ including the Arc A-series "Alchemist" discrete GPUs) require the out-of-tree
94
+ i915 kernel mode driver.
95
+ Please refer to the [ installation docs] ( https://dgpu-docs.intel.com/ ) for
96
+ instructions how to install the out-of-tree kernel mode driver.
92
97
* On OSX, the path to the MDAPI library should be set manually with
93
98
` DevicePerfCounterLibName ` control. The library is named ` libigdmd.dylib ` and
94
99
it usually resides under ` /System/Library/Extensions/AppleIntel<CPU NAME>GraphicsMTLDriver.bundle/Contents/MacOS/libigdmd.dylib ` ,
95
100
where ` <CPU NAME> ` is a short name of your CPU generation. For example, on Kaby
96
101
Lake machines ` <CPU NAME> ` is ` KBL ` . You can also add path to ` libigdmd.dylib `
97
102
library to ` DYLD_LIBRARY_PATH ` environment library, so that it can be found system-wide.
103
+ * On systems with multiple GPUs, metrics may only be collected for one GPU at a
104
+ time. Use the control ** DevicePerfCounterAdapterIndex** to choose which GPU to
105
+ collect metrics for. This control may also be set via ` cliloader ` , by passing
106
+ the ` --mdapi-device ` option.
107
+ * To enumerate the available GPUs for metric collection and their adapter
108
+ indices, use ` cliloader ` and pass the ` --mdapi-devices ` option.
109
+ * To enumerate available metrics, use ` cliloader ` and pass the ` --metrics `
110
+ option.
98
111
* Collecting MDAPI metrics currently requires elevated privileges
99
112
because metrics are collected system-wide.
100
113
* On Linux, MDAPI metrics may be enabled for non-root users
0 commit comments