Overview

XArith is a device-side C++ library designed for XCENA’s Computational Memory (MX1). It provides high-performance vector computation primitives for VPE (Vector Processing Engine). Used together with the MU library (mu/mu.hpp), XArith enables developers to build high-performance MU kernels that run on the MX1’s vector processing hardware.

Note: XArith is planned to be integrated into the MU library (mu_lib) in a future release.

Key Features

  • VPE vector operations – Dot product, add, sub, mul, div, square, reduce, comparison, and bitwise operations
  • Thread-safe – Safe for concurrent access; each thread should use its own VpeContext for best performance

See Getting Started to install XArith and set up your development environment.