Skip to content

Commit

Permalink
fix pydocstyle, doc
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasdiener committed Aug 27, 2024
1 parent 74a5fd0 commit f3e481c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mirgecom/logging_quantities.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
.. autoclass:: DiscretizationBasedQuantity
.. autoclass:: KernelProfile
.. autoclass:: PythonMemoryUsage
.. autoclass:: DeviceMemoryUsage
.. autoclass:: DeviceMemoryUsageCUDA
.. autoclass:: DeviceMemoryUsageAMD
.. autofunction:: initialize_logmgr
.. autofunction:: logmgr_add_cl_device_info
.. autofunction:: logmgr_add_device_memory_usage
Expand Down Expand Up @@ -468,7 +469,6 @@ def __init__(self, dev: "cl.Device", name: Optional[str] = None) -> None:

def __call__(self) -> Optional[float]:
"""Return the memory usage in MByte."""

# NB: dev.global_mem_size is in Bytes,
# dev.global_free_memory_amd is in KByte,
# the actual granularity of the returned values appears to be MByte
Expand Down

0 comments on commit f3e481c

Please sign in to comment.