Functions | |
| nvmlReturn_t DECLDIR | nvmlUnitSetLedState (nvmlUnit_t unit, nvmlLedColor_t color) |
| Set the LED state for the unit. | |
For S-class products only. Each of these requires root/admin access. Non-admin users will see an NVML_ERROR_NO_PERMISSION error code when invoking any of these methods.
| nvmlReturn_t DECLDIR nvmlUnitSetLedState | ( | nvmlUnit_t | unit, | |
| nvmlLedColor_t | color | |||
| ) |
Set the LED state for the unit.
The LED can be either green (0) or amber (1).
For S-class products only.
This operation takes effect immediately.
See nvmlLedColor_t for available colors.
| unit | The identifer of the target unit | |
| color | The target LED color |