mlx_device_equal function

  1. @Native<Bool Function(mlx_device, mlx_device)>(mlx_device, mlx_device)>()
bool mlx_device_equal(
  1. mlx_device lhs,
  2. mlx_device rhs
)

Check if devices are the same.

Implementation

@ffi.Native<ffi.Bool Function(mlx_device, mlx_device)>()
external bool mlx_device_equal(mlx_device lhs, mlx_device rhs);