Add support to query the size for the allocated memory
Summary: This commit adds the ``memory_allocated`` API for ``dragon.Workspace`` to query the size of allocated memory (and optionally on a specified device).
Showing
with
208 additions
and
138 deletions
-
Please register or sign in to post a comment