warp.config.track_memory#

warp.config.track_memory: bool = False#

Enable tracking of memory allocations at initialization.

When True at the time warp.init() is called, a ScopedMemoryTracker is automatically activated for all devices. For on-demand tracking, use ScopedMemoryTracker directly as a context manager.

Note: Impacts performance when active due to call-stack introspection.