mlx_get_default_device function
- @Native<Int Function(Pointer<
mlx_device> )>(ffi.Pointer<mlx_device>)>()
- Pointer<
mlx_device> dev
Returns the default MLX device.
Implementation
@ffi.Native<ffi.Int Function(ffi.Pointer<mlx_device>)>()
external int mlx_get_default_device(ffi.Pointer<mlx_device> dev);