NVIDIA / nvidia-settings

NVIDIA driver control panel
http://www.nvidia.com/object/unix.html
GNU General Public License v2.0
296 stars 77 forks source link

comment on `NVML_ERROR_FREQ_NOT_SUPPORTED` is wrong #72

Open jacobmou opened 3 years ago

jacobmou commented 3 years ago

When working on upgrading CUDA to 11.4, i found a new NVML error type is added NVML_ERROR_FREQ_NOT_SUPPORTED in here. When I was trying to figure out what does that error type mean, i found the comments in code is not right, since it just copy the comment of NVML_ERROR_INSUFFICIENT_RESOURCES.


    NVML_ERROR_VGPU_ECC_NOT_SUPPORTED = 22,  //!< The requested vgpu operation is not available on target device, becasue ECC is enabled
    NVML_ERROR_INSUFFICIENT_RESOURCES = 23,  //!< Ran out of critical resources, other than memory
    NVML_ERROR_FREQ_NOT_SUPPORTED = 24,  //!< Ran out of critical resources, other than memory
    NVML_ERROR_UNKNOWN = 999                 //!< An internal driver error occurred