[][src]Function nvml_binding::bindings::nvmlDeviceGetMaxCustomerBoostClock

pub unsafe extern "C" fn nvmlDeviceGetMaxCustomerBoostClock(
    device: nvmlDevice_t,
    clockType: nvmlClockType_t,
    clockMHz: *mut c_uint
) -> nvmlReturn_t

Retrieves the customer defined maximum boost clock speed specified by the given clock type.

For Pascal &tm; or newer fully supported devices.

@param device The identifier of the target device @param clockType Identify which clock domain to query @param clockMHz Reference in which to return the clock in MHz

@return - \ref NVML_SUCCESS if \a clockMHz has been set - \ref NVML_ERROR_UNINITIALIZED if the library has not been successfully initialized - \ref NVML_ERROR_INVALID_ARGUMENT if \a device is invalid or \a clockMHz is NULL or \a clockType is invalid - \ref NVML_ERROR_NOT_SUPPORTED if the device or the \a clockType on this device does not support this feature - \ref NVML_ERROR_GPU_IS_LOST if the target GPU has fallen off the bus or is otherwise inaccessible - \ref NVML_ERROR_UNKNOWN on any unexpected error