-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable Choice of NVML Device #38
Comments
Another option would be to log the power/temperature of all devices, similar to the approach for Intel (packages 0 and 1). |
When logging the power/temperature of all device you still need an option to correlate the used OpenCL device with the NVML device. Considering this I would prefer the command line option. |
In that case, one possibility might be to query the UUID via $ nvidia-smi -L
GPU 0: GeForce GTX 1070 Ti (UUID: GPU-7350c62a-efab-c59a-a51f-f99f19ccbf6b) Then, we can have the general calling syntax
We can use names such as |
In #39, @philipheinisch implemented a sensible default value for nvml. Maybe we want to enable additional logging of specificlly chosen devices for a more general power logging library? |
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
nvmlDeviceGetHandleByUUID
ornvmlDeviceGetHandleByPciBusId
.CC @Kostaszki
The text was updated successfully, but these errors were encountered: