Update README.md

parent d7589e77
Pipeline #15629 passed with stage
in 23 seconds
......@@ -2,18 +2,17 @@ Berenger Bramas - MPCDF (berenger.bramas@mpcdf.mpg.de)
## AVX-512 sort functions
This project is a small library that provides fast functions to sort array of int or double using AVX-512.
This project is a small library that provides fast functions to sort array of int or double or int[2] using AVX-512.
A paper describes the different strategies, it is currently under review, but drafts are available at:
https://arxiv.org/abs/1704.08579
or
https://hal.inria.fr/hal-01512970 .
This paper presents results for the KNL architecture.
An appendix that contains results for the Skylake architecture is available at http://berenger.eu/blog/wp-content/uploads/2017/06/avxsort.pdf or https://datashare.rzg.mpg.de/s/QCBTOdc5r0daqNt .
The branch `paper` contains some not very clean files that were used for benchmarks,
wherease the current master branch provides an header only library:
- sort512.hpp : the library that can be directly include in any code
- sort512.hpp : the library that can be directly include in any code to sort integer or double
- sort512kv.hpp : the library that can be directly include in any code to sort key/value pairs of integers
- sort512test.cpp : some unit tests (can be used for examples)
## Functions
......@@ -23,10 +22,15 @@ wherease the current master branch provides an header only library:
- Sort512::SmallSort16V(); to sort a small array (should be less than 16 AVX512 vectors)
## AVX 512 compilation flags
## AVX 512 compilation flags (KNL)
- Gcc : -mavx512f -mavx512pf -mavx512er -mavx512cd
- Intel : -xCOMMON-AVX512 -xMIC-AVX512
## AVX 512 compilation flags (SKL)
- Gcc : -mavx512f -mavx512cd -mavx512vl -mavx512bw -mavx512dq
- Intel : -xCOMMON-AVX512 -xCORE-AVX512
## OpenMP compilation flags
In case you want to use the parallel sort, you need to add the flag:
- Gcc : -fopenmp
- Intel : -qopenmp
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment