Skip to content



  • All code in the library is optimized for Intel, AMD (SSE2, SSE3, SSE4.x, AVX and AVX2 and AVX512) and ARM (NEON) processors
  • Mathematical and statistical functions
  • Template expressions (See examples)
  • All data types are supported including complex numbers
  • All vector lengths are also supported. vec<float,1>, vec<unsigned,3>, vec<complex<float>, 11> all are valid vector types in KFR
  • Most of the standard library functions are re-implemented to support vector of any length and data type and to support expressions
  • Runtime cpu detection
  • C API: DFT, real DFT, DCT, FIR and IIR filters and convolution, memory allocation
  • Built for SSE2, SSE4.1, AVX, AVX2, AVX512, x86 and x86_64, architecture is selected at runtime
  • Can be used with any compiler and any language with ability to call C functions
  • Prebuilt Windows binaries

DSP/Audio algorithms



Compiler support

Xcode Visual Studio Clang GCC Intel Compiler
9+ 2017 6+ 7+ Experimental

Tested on macOS, Windows (MinGW, MSYS and MSVC), Linux, iOS, Android.

Architecture support

x86, x86_64 ARM, ARM64
Scalar, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, AVX, AVX2, AVX512 Scalar, NEON, NEON64