docs: def nvmlDeviceGetCurrPcieLinkWidth(handle):
      r"""
      /**
       * Retrieves the current PCIe link width
       *
       * For Fermi &tm; or newer fully supported devices.
       *
       * @param device                               The identifier of the target device
       * @param currLinkWidth                        Reference in which to return the current PCIe link generation
       *
       * @return
       *         - \ref NVML_SUCCESS                 if \a currLinkWidth has been populated
       *         - \ref NVML_ERROR_UNINITIALIZED     if the library has not been successfully initialized
       *         - \ref NVML_ERROR_INVALID_ARGUMENT  if \a device is invalid or \a currLinkWidth is null
       *         - \ref NVML_ERROR_NOT_SUPPORTED     if PCIe link information is not available
       *         - \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 nvmlDeviceGetCurrPcieLinkWidth
      """
      fn = _nvmlGetFunctionPointer("nvmlDeviceGetCurrPcieLinkWidth")
      width = c_uint()
      ret = fn(handle, byref(width))
      _nvmlCheckReturn(ret)
      return bytes_to_str(width.value)