mlx_device_set function
- @Native<Int Function(Pointer<
mlx_device> , mlx_device)>(ffi.Pointer<mlx_device>, mlx_device)>()
- Pointer<
mlx_device> dev, - mlx_device src
Set device to provided src device.
Implementation
@ffi.Native<ffi.Int Function(ffi.Pointer<mlx_device>, mlx_device)>()
external int mlx_device_set(ffi.Pointer<mlx_device> dev, mlx_device src);