Library that could generate vectorized code for different instruction sets?

This page summarizes the projects mentioned and recommended in the original post on /r/cpp

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • highway

    Performance-portable, length-agnostic SIMD with runtime dispatch

    I didn't try it but google's highway supposed to do this with `HWY_DYNAMIC_DISPATCH`.

  • Halide

    a language for fast, portable data-parallel computation

    Adobe halide https://github.com/halide/Halide

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • eve

    Expressive Vector Engine - SIMD in C++ Goes Brrrr (by jfalcou)

    Here is a doc on how we suggest to do it: https://jfalcou.github.io/eve/multiarch.html Here is complete code of that example: https://github.com/jfalcou/eve/tree/main/examples/multi-arch

  • cpuid

    CPUID in C++ class, supporting output and input of cpuid data in human friendly text format (by jrmwng)

    CPUID instruction can be used to detect what CPU features are supported by the running processor. You may consider using my "cpuid.h" header file, if you are new to CPUID.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts