Skip to main content

mlx_device_new_type

Function mlx_device_new_type 

Source
pub unsafe extern "C" fn mlx_device_new_type(
    type_: mlx_device_type,
    index: c_int,
) -> mlx_device
Expand description

Returns a new device of specified type, with specified index.