Skip to content

LeoFuso/edcalc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C++ Vector Distance Study

VectorDistance

I've built this lib to benchmark different distance measures operations using different vector implementations.

So far you can build this lib using:

  • a baseline strategy;
  • a baseline strategy with no compiler optimizations;
  • Vectors of 128 bits (SSE2)
  • Vectors of 256 bits (AVX2)

There's a simple benchmark that can be run after the make execution:

$ ./build/bin/main

Build process

$ mkdir build
$ cd build
$ cmake -DVECTOR_SIZE={{VECTOR-SIZE}} ..
$ make

Where VECTOR_SIZE can be either auto, auto-no-opt, 128, 256

The original purpose of these libraries was to integrate with Python, to benchmark against other native solutions.

I'm dropping the support in favor of Java's Project Panama.

About

Euclydian distance etc

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •