Hi all,
I need to retrieve programmatically some informations retrieved by nvidia-smi,
I prefer avoid to fork/exec an nvidia-smi run and or strace it and perform the same
ioctl calls. It seems that the struct cudaDeviceProp doesn’t contains all needed such as:
fan speed, temperature, gpu utilization and such.
Sorry for the confusion. You should always run with libnvida-ml.so that is installed with your NVIDIA Display Driver. By default it’s installed in /usr/lib and /usr/lib64.
libnvida-ml.so in TDK package is a stub library that is attached only for build purposes (e.g. machine that you build your application doesn’t have to have Display Driver installed).
We’ll add a note to the README to make it more clear.
Since NVML is targeted at Tesla customers and CUDA Toolkit is big enough without it we’ve decided to keep it separate.