mlx_device_is_available function
- @Native<Int Function(Pointer<
Bool> , mlx_device)>(ffi.Pointer<ffi.Bool>, mlx_device)>()
- Pointer<
Bool> avail, - mlx_device dev
Check if device is available.
Implementation
@ffi.Native<ffi.Int Function(ffi.Pointer<ffi.Bool>, mlx_device)>()
external int mlx_device_is_available(
ffi.Pointer<ffi.Bool> avail,
mlx_device dev,
);