Skip to main content

set_wired_limit

Function set_wired_limit 

Source
pub fn set_wired_limit(limit: usize) -> Result<usize>
Expand description

Set the process-global wired-memory limit in bytes and return its previous value.

The new limit affects all threads and evaluations. Wired-memory limits are useful only with Metal on macOS 15 or later; other configurations may return an upstream error.