https://docs.nvidia.com/deploy/nvml-api/structnvmlProcessInfo__t.html#structnvmlProcessInfo__t_107c2ccda774b8bee86e68c3d3962533c
The type should be pid_t, e.g., see:
Some popular libc documentation:
Can you get the NVIDIA folk to change the type to match PIDs on all platforms? - As unsigned int seems to never be the right option.
https://docs.nvidia.com/deploy/nvml-api/structnvmlProcessInfo__t.html#structnvmlProcessInfo__t_107c2ccda774b8bee86e68c3d3962533c
The type should be
pid_t, e.g., see:Some popular libc documentation:
typedef __INT32_TYPE__ pid_t;TYPEDEF int pid_t;Can you get the NVIDIA folk to change the type to match PIDs on all platforms? - As
unsigned intseems to never be the right option.