mlx_device_set function

  1. @Native<Int Function(Pointer<mlx_device>, mlx_device)>(ffi.Pointer<mlx_device>, mlx_device)>()
int mlx_device_set(
  1. Pointer<mlx_device> dev,
  2. 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);