ML::BufferPool
Buffer pool for reusing allocations (reduces Metal allocation overhead)
Constants
ALIGNMENT = 256_i64
DEFAULT_MAX_BUFFER_BYTES = (256_i64 * 1024) * 1024
DEFAULT_MAX_CACHED = 32
DEFAULT_MAX_CACHED_BYTES = ((2_i64 * 1024) * 1024) * 1024
Constructors
Class methods
Instance methods
stats
Source