![]() |
Shamrock 2025.10.0
Astrophysical Code
|
std::sort based sort by keys implementation, shared by the sort by keys primitives More...
Go to the source code of this file.
Namespaces | |
| namespace | shamalgs |
| namespace to contain everything implemented by shamalgs | |
| namespace | shamalgs::primitives |
| namespace for primitive algorithm (e.g. sort, scan, reductions, ...) | |
Functions | |
| template<class Tkey, class Tval> | |
| void | shamalgs::primitives::device::details::sort_by_keys_std_sort (sham::DeviceBuffer< Tkey > &buf_key, sham::DeviceBuffer< Tval > &buf_values, u32 len) |
| Copy both buffers to host, std::sort the zipped key/value pairs, and copy back. | |
std::sort based sort by keys implementation, shared by the sort by keys primitives
Definition in file sort_by_keys_std_sort.hpp.
|
inline |
Copy both buffers to host, std::sort the zipped key/value pairs, and copy back.
Definition at line 28 of file sort_by_keys_std_sort.hpp.