namespace OpenHardwareMonitor.Hardware.Nvidia { internal enum NvmlReturn { /// /// The operation was successful /// Success = 0, /// /// NVML was not first initialized with nvmlInit() /// Uninitialized = 1, /// /// A supplied argument is invalid /// InvalidArgument = 2, /// /// The requested operation is not available on target device /// NotSupported = 3, /// /// The current user does not have permission for operation /// NoPermission = 4, /// /// A query to find an object was unsuccessful /// NotFound = 6, /// /// An input argument is not large enough /// InsufficientSize = 7, /// /// A device's external power cables are not properly attached /// InsufficientPower = 8, /// /// NVIDIA driver is not loaded /// DriverNotLoaded = 9, /// /// User provided timeout passed /// TimeOut = 10, /// /// NVIDIA Kernel detected an interrupt issue with a GPU /// IRQIssue = 11, /// /// NVML Shared Library couldn't be found or loaded /// LibraryNotFound = 12, /// /// Local version of NVML doesn't implement this function /// FunctionNotFound = 13, /// /// infoROM is corrupted /// CorruptedInfoROM = 14, /// /// The GPU has fallen off the bus or has otherwise become inaccessible /// GPUIsLost = 15, /// /// The GPU requires a reset before it can be used again /// ResetRequired = 16, /// /// The GPU control device has been blocked by the operating system/cgroups /// OperatingSystem = 17, /// /// RM detects a driver/library version mismatch /// LibRMVersionMismatch = 18, /// /// An operation cannot be performed because the GPU is currently in use /// InUse = 19, /// /// An internal driver error occurred /// Unknown = 999 } }