The implementation of GpmQueryDeviceSupport in gpm.go#L134 is incorrect and always returns ERROR_ARGUMENT_VERSION_MISMATCH.
The issue appears to be that the version field of GpmDeviceSupport is incorrectly initialized before being passed to the NVML C API. According to the usage in DCGM (source), the version field must be set to NVML_GPM_SUPPORT_VERSION.
This results in a version mismatch error from NVML.