Up to now, the NVML device is hard coded in
|
nvmlDeviceGetHandleByIndex(0, &device); |
and
|
nvmlDeviceGetHandleByIndex(0, &device); |
We should add some command line option to choose another device or even other devices. A somewhat simple option would be to allow logging on only one device. However, I would prefer the ability to enable logging on an arbitrary number of devices.
As described at here, it would be better to use nvmlDeviceGetHandleByUUID or nvmlDeviceGetHandleByPciBusId.
CC @Kostaszki
Up to now, the NVML device is hard coded in
toolkitICL/src/main.cpp
Line 452 in 1160e77
toolkitICL/src/main.cpp
Line 481 in 1160e77
We should add some command line option to choose another device or even other devices. A somewhat simple option would be to allow logging on only one device. However, I would prefer the ability to enable logging on an arbitrary number of devices.
As described at here, it would be better to use
nvmlDeviceGetHandleByUUIDornvmlDeviceGetHandleByPciBusId.CC @Kostaszki