docs: def nvmlDeviceGetTemperatureThreshold(handle, threshold):
      r"""
      /**
       * Retrieves the temperature threshold for the GPU with the specified threshold type in degrees C.
       *
       * For Kepler &tm; or newer fully supported devices.
       *
       * See \ref nvmlTemperatureThresholds_t for details on available temperature thresholds.
       *
       * @param device                               The identifier of the target device
       * @param thresholdType                        The type of threshold value queried
       * @param temp                                 Reference in which to return the temperature reading
       * @return
       *         - \ref NVML_SUCCESS                 if \a temp 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, \a thresholdType is invalid or \a temp is NULL
       *         - \ref NVML_ERROR_NOT_SUPPORTED     if the device does not have a temperature sensor or is unsupported
       *         - \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
       */
      nvmlReturn_t DECLDIR nvmlDeviceGetTemperatureThreshold
      """
      c_temp = c_uint()
      fn = _nvmlGetFunctionPointer("nvmlDeviceGetTemperatureThreshold")
      ret = fn(handle, _nvmlTemperatureThresholds_t(threshold), byref(c_temp))
      _nvmlCheckReturn(ret)
      return bytes_to_str(c_temp.value)