ermig1979/Simd

C++ image processing and machine learning library with using of SIMD: SSE, AVX, AVX-512, AMX for x86/x64, NEON, SVE for ARM, HVX for Hexagon

What it solves

This library provides high-performance image processing and machine learning algorithms for C and C++ developers. It solves the problem of slow execution by using specialized CPU instructions (SIMD) to accelerate tasks like image scaling, pixel format conversion, motion detection, and neural network operations.

How it works

The library implements algorithms using low-level CPU extensions such as SSE, AVX, AVX-512, and AMX for x86/x64 processors, and NEON, SVE, and SVE2 for ARM processors. It offers a C API for broad compatibility and C++ classes for easier integration. Developers can build the library using CMake or Visual Studio, and it includes a built-in test framework to verify correctness and compare the performance of different CPU-optimized implementations.

Who it’s for

It is designed for C and C++ programmers who need to perform intensive image processing or machine learning tasks on Windows or Linux and want to maximize performance by leveraging modern CPU hardware features.

Highlights

  • Supports a wide range of CPU extensions including AVX-512, AMX, and NEON.
  • Includes a Python wrapper for broader language accessibility.
  • Provides seamless integration with OpenCV types for projects already using that library.
  • Features a comprehensive test suite that allows for performance benchmarking and auto-checking of different algorithm implementations.
  • Supports cross-compilation for ARM platforms, making it suitable for embedded systems.

Related

  • Project
  • Project
  • Project
  • Project