rlx-metal 0.2.13

Metal backend for RLX — Apple Silicon GPU via Metal Performance Shaders + custom MSL kernels
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// RLX — versatile ML compiler + runtime.
// Copyright (C) 2026 Eugene Hauptmann, Nataliya Kosmyna.
//
// SPDX-License-Identifier: GPL-3.0-only

//! CPU host-fallback for Riemannian / SPD-manifold ops on the Metal backend.
//!
//! Evaluation lives in [`rlx_gpu_host`]; this module re-exports the predicate
//! and eval entry points. On Apple Silicon the arena is shared-storage
//! `MTLBuffer`, so callers read/write f32 spans via `Buffer::contents()` and
//! pass them to [`eval`].

pub use rlx_gpu_host::{eval_spd as eval, is_spd_host};