docs: def nvmlDeviceGetAccountingBufferSize(handle):
      r"""
      /**
       * Returns the number of processes that the circular buffer with accounting pids can hold.
       *
       * For Kepler &tm; or newer fully supported devices.
       *
       * This is the maximum number of processes that accounting information will be stored for before information
       * about oldest processes will get overwritten by information about new processes.
       *
       * @param device                               The identifier of the target device
       * @param bufferSize                           Reference in which to provide the size (in number of elements)
       *                                               of the circular buffer for accounting stats.
       *
       * @return
       *         - \ref NVML_SUCCESS                 if buffer size was successfully retrieved
       *         - \ref NVML_ERROR_UNINITIALIZED     if the library has not been successfully initialized
       *         - \ref NVML_ERROR_INVALID_ARGUMENT  if \a device is invalid or \a bufferSize is NULL
       *         - \ref NVML_ERROR_NOT_SUPPORTED     if the device doesn't support this feature or accounting mode is disabled
       *         - \ref NVML_ERROR_UNKNOWN           on any unexpected error
       *
       * @see nvmlDeviceGetAccountingStats
       * @see nvmlDeviceGetAccountingPids
       */
      nvmlReturn_t DECLDIR nvmlDeviceGetAccountingBufferSize
      """
      bufferSize = c_uint()
      fn = _nvmlGetFunctionPointer("nvmlDeviceGetAccountingBufferSize")
      ret = fn(handle, byref(bufferSize))
      _nvmlCheckReturn(ret)
      return int(bufferSize.value)