mlx_stream_get_device function

  1. @Native<Int Function(Pointer<mlx_device>, mlx_stream)>(ffi.Pointer<mlx_device>, mlx_stream)>()
int mlx_stream_get_device(
  1. Pointer<mlx_device> dev,
  2. mlx_stream stream
)

Return the device of the stream.

Implementation

@ffi.Native<ffi.Int Function(ffi.Pointer<mlx_device>, mlx_stream)>()
external int mlx_stream_get_device(
  ffi.Pointer<mlx_device> dev,
  mlx_stream stream,
);