Skip to main content

mlx_device_info_get_size

Function mlx_device_info_get_size 

Source
pub unsafe extern "C" fn mlx_device_info_get_size(
    value: *mut usize,
    info: mlx_device_info,
    key: *const c_char,
) -> c_int
Expand description

Get a size_t value from device info. Returns 0 on success, 1 on error, 2 if key not found or wrong type.