mlx_stream_get_device function
- @Native<Int Function(Pointer<
mlx_device> , mlx_stream)>(ffi.Pointer<mlx_device>, mlx_stream)>()
- Pointer<
mlx_device> dev, - 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,
);