cuda.bindings.nvml.unit_set_led_state#
- cuda.bindings.nvml.unit_set_led_state(intptr_t unit, int color)#
Set the LED state for the unit. The LED can be either green (0) or amber (1).
For S-class products. Requires root/admin permissions. This operation takes effect immediately. Current S-Class products don’t provide unique LEDs for each unit. As such, both front and back LEDs will be toggled in unison regardless of which unit is specified with this command. See
nvmlLedColor_tfor available colors.- Parameters:
unit (intptr_t) – The identifier of the target unit.
color (LedColor) – The target LED color.
See also
nvmlUnitSetLedState