# tensorplay.cuda.memory_snapshot

Source: https://www.tensorplay.cn/docs/generated/tensorplay.cuda.memory_snapshot.html

# tensorplay.cuda.memory_snapshot

tensorplay.cuda.memory_snapshot(mempool_id=None, include_traces=True)[[source]](../_modules/tensorplay/cuda/memory.html#memory_snapshot)

Return a snapshot of the CUDA memory allocator state across all devices.

Interpreting the output of this function requires familiarity with the
memory allocator internals. Not exposed by this TensorPlay build.
