Skip to main content

set_cache_limit

Function set_cache_limit 

Source
pub fn set_cache_limit(
    allocator_cache_limit_bytes: usize,
) -> Result<usize, MlxCError>
Expand description

Applies the allocator-cache retention limit and returns the previous limit in bytes.