23 #ifndef INPLACESORTIMPL_H
24 #define INPLACESORTIMPL_H
32 const uint64_t entry_count,
34 const uint32_t chosen_bytes,
40 const uint64_t entry_count,
42 const uint32_t chosen_bytes);
46 const uint64_t entry_count,
47 const uint32_t chosen_bytes,
53 const uint64_t entry_count,
55 const uint32_t chosen_bytes);
57 #endif // INPLACESORTIMPL_H
void sort_on_gpu(int64_t *val_buff, int32_t *idx_buff, const uint64_t entry_count, const bool desc, const uint32_t chosen_bytes, ThrustAllocator &alloc, const int device_id)
void sort_on_cpu(int64_t *val_buff, int32_t *idx_buff, const uint64_t entry_count, const bool desc, const uint32_t chosen_bytes)
void apply_permutation_on_gpu(int64_t *val_buff, int32_t *idx_buff, const uint64_t entry_count, const uint32_t chosen_bytes, ThrustAllocator &alloc, const int device_id)
void apply_permutation_on_cpu(int64_t *val_buff, int32_t *idx_buff, const uint64_t entry_count, int64_t *tmp_buff, const uint32_t chosen_bytes)