Skip to content

This is a simplification of another project of mine, edcalc.

Notifications You must be signed in to change notification settings

LeoFuso/distance__m256d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C Vector Distance Study

Distance __m256d

I've built this lib to benchmark different distance measures operations using some __m256d vector functions, and hopefully compare it with the new Java's Panama Vectors API.

Please note that the arrays provided to the operations must be created using aligned_alloc functions. You can check a working example in apps/main.c.

Building & Running

$ cmake -S . -B build
$ cmake --build build
$ ./build/apps/runner
$ valgrind -v --leak-check=full ./build/apps/runner

Installing (optional)

$ sudo cmake -- install build

Standalone

You can also try to compile apps/main.c directly:

$ gcc -I/usr/local/include main.c -o main -L/usr/local/lib -Wl,-R/usr/local/lib -ldistance__m256d

About

This is a simplification of another project of mine, edcalc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published