cuda.bindings.nvml.device_get_target_fan_speed#
- cuda.bindings.nvml.device_get_target_fan_speed(
- intptr_t device,
- unsigned int fan,
Retrieves the intended target speed of the device’s specified fan.
Normally, the driver dynamically adjusts the fan based on the needs of the GPU. But when user set fan speed using nvmlDeviceSetFanSpeed_v2, the driver will attempt to make the fan achieve the setting in nvmlDeviceSetFanSpeed_v2. The actual current speed of the fan is reported in nvmlDeviceGetFanSpeed_v2. For all discrete products with dedicated fans. The fan speed is expressed as a percentage of the product’s maximum noise tolerance fan speed. This value may exceed 100% in certain cases.
- Parameters:
device (intptr_t) – The identifier of the target device.
fan (unsigned int) – The index of the target fan, zero indexed.
- Returns:
- Reference in which to return the fan speed
percentage.
- Return type:
unsigned int
See also
nvmlDeviceGetTargetFanSpeed