Skip to main content

set_metallib_path

Function set_metallib_path 

Source
pub fn set_metallib_path(path: impl AsRef<str>) -> Result<()>
Expand description

Sets the path used by subsequent Metal initialization.

This changes process-global MLX state and can affect every thread that initializes Metal afterward.