mlx_device_get_index function

  1. @Native<Int Function(Pointer<Int>, mlx_device)>(ffi.Pointer<ffi.Int>, mlx_device)>()
int mlx_device_get_index(
  1. Pointer<Int> index,
  2. mlx_device dev
)

Returns the index of the device.

Implementation

@ffi.Native<ffi.Int Function(ffi.Pointer<ffi.Int>, mlx_device)>()
external int mlx_device_get_index(ffi.Pointer<ffi.Int> index, mlx_device dev);