docscore conceptsconcept-devices-and-memory
Core Concepts

Concepts: Devices & Memory Allocator

64-byte cache-aligned allocations and CUDA sub-allocation pooling.

Concepts: Devices & Memory Allocator

64-byte cache-aligned allocations and CUDA sub-allocation pooling.

Synchronous cudaMalloc calls serialize host threads. Dark Forest implements a CachingAllocator that pools GPU memory blocks, recycling allocated virtual ranges without driver stalls.