Skip to content

Commit 9b978ec

Browse files
author
Raghuveer Devulapalli
authored
Merge pull request #102 from sterrettm2/kvnets_basic
Changes argsort/argselect to use generic networks
2 parents a06e1ad + b0daf91 commit 9b978ec

File tree

5 files changed

+442
-1003
lines changed

5 files changed

+442
-1003
lines changed

src/avx2-64bit-qsort.hpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,6 @@
1111
#include "xss-common-qsort.h"
1212
#include "avx2-emu-funcs.hpp"
1313

14-
/*
15-
* Constants used in sorting 8 elements in a ymm registers. Based on Bitonic
16-
* sorting network (see
17-
* https://en.wikipedia.org/wiki/Bitonic_sorter#/media/File:BitonicSort.svg)
18-
*/
19-
// ymm 3, 2, 1, 0
20-
#define NETWORK_64BIT_R 0, 1, 2, 3
21-
#define NETWORK_64BIT_1 1, 0, 3, 2
22-
2314
/*
2415
* Assumes ymm is random and performs a full sorting network defined in
2516
* https://en.wikipedia.org/wiki/Bitonic_sorter#/media/File:BitonicSort.svg

0 commit comments

Comments
 (0)