Skip to content

About

Apple Silicon (ARM64 NEON, ThinLTO, C++20) specialized fork of Eigen 5.0.1 for real-time audio DSP and ML inference.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

12,867 Commits

Folders and files

Eigen is a C++ template library for linear algebra: matrices, vectors, numerical solvers, and related algorithms.

For more information go to http://eigen.tuxfamily.org/ or https://libeigen.gitlab.io/docs/.

For pull request, bug reports, and feature requests, go to https://gitlab.com/libeigen/eigen.


Ramer Digital Fork — Apple Silicon Optimization

This repository is a specialized fork of Eigen 5.0.1 maintained by Ramer Digital (ramerdigital).

Objective

Provide a lean, C++20-modernized version of Eigen tuned exclusively for Apple Silicon (arm64 / macOS) real-time audio DSP and neural network inference workloads (such as Ramer-RTNeural and Ramer-TS-M1N3), ready for clean consumption via Git submodules without non-Apple backends or CI/CD boilerplate.

Summary of Modifications

  • Apple Silicon & NEON Specialization: Removed legacy non-ARM64 CPU architectures (SSE, AVX, AVX512, AltiVec/VSX, HVX, LSX, MSA, SVE, ZVector) and non-Apple GPU/SYCL backends (CUDA, HIP, SYCL) from Eigen/src/Core/arch/, Eigen/Core, ConfigureVectorization.h, and test definitions.
  • Apple M-Series Cache Block Tuning: Updated default cache parameters in Eigen/src/Core/products/GeneralBlockPanelKernel.h for Apple Silicon performance cores (128 KB L1, 4 MB L2, 8 MB L3).
  • CMake Apple Silicon & ThinLTO Options:
    • Added EIGEN_APPLE_M_CPU (defaults to apple-m1 via -mcpu=apple-m1 under Apple Clang arm64) and optional EIGEN_APPLE_FAST_MATH (defaults to OFF).
    • Added EIGEN_LTO (defaults to ON), enabling ThinLTO (-flto=thin) on Clang or CMake INTERPROCEDURAL_OPTIMIZATION where supported.
  • C++20 Modernization: Raised the required standard to C++20 (CMAKE_CXX_STANDARD 20 and EIGEN_COMP_CXXVER < 20 guard in Macros.h), refactored StableNorm.h SFINAE overloads to C++20 requires clauses, marked constants/bitmasks in Constants.h as constexpr, and included <ranges> in Eigen/Core.
  • Clean Submodule Packaging: Removed upstream GitLab configurations (.gitlab/, .gitlab-ci.yml, ci/), CDash dashboard files (CTestConfig.cmake, scripts/cdashtesting.cmake.in), and CI helper scripts.

License

All upstream Eigen licensing (MPL-2.0 / third-party notices in LICENSE and COPYING.*) and commit history through 5.0.1 are preserved.

About

Apple Silicon (ARM64 NEON, ThinLTO, C++20) specialized fork of Eigen 5.0.1 for real-time audio DSP and ML inference.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages