TensorPlay
API reference
latest (dev)
Copy
View Markdown

Latest development documentation · Updated 2026-10-15

tensorplay.cuda.memory API

Functions 3

#

caching_allocator_disabled

functionFull reference ↗
tensorplay.cuda.memory.caching_allocator_disabled()[source]

Context manager that temporarily disables the CUDA caching allocator.

#

caching_allocator_enable

functionFull reference ↗
tensorplay.cuda.memory.caching_allocator_enable(value: bool = True) → None[source]

Enable or disable the CUDA memory allocator. On by default.

#

use_mem_pool

functionFull reference ↗
tensorplay.cuda.memory.use_mem_pool(pool)[source]

Route allocations to a MemPool (not supported by this build).

On this page

Ask DeepWiki