# tensorplay.cuda.memory.caching_allocator_enable

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

# tensorplay.cuda.memory.caching_allocator_enable

tensorplay.cuda.memory.caching_allocator_enable(value: [bool](https://docs.python.org/3/library/functions.html#bool) = True) &#x2192; [None](https://docs.python.org/3/library/constants.html#None)[[source]](../_modules/tensorplay/cuda/memory.html#caching_allocator_enable)

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