![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Histograms of every radix digit place of a key buffer, in a single read of the keys. More...
#include "shambase/aliases_int.hpp"#include "shambackends/DeviceBuffer.hpp"#include "shambackends/DeviceScheduler.hpp"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, u32 radix_bits> | |
| void | shamalgs::primitives::digit_histogram (const sham::DeviceScheduler_ptr &sched, const sham::DeviceBuffer< Tkey > &buf_key, sham::DeviceBuffer< u32 > &buf_hist, u32 len) |
| Compute the histograms of all the digit places of the first len keys. | |
| template<class Tkey, u32 radix_bits> | |
| void | shamalgs::primitives::digit_histogram (const sham::DeviceScheduler_ptr &sched, const sham::DeviceBuffer< Tkey > &buf_key, sham::DeviceBuffer< u32 > &buf_hist) |
| Compute the histograms of all the digit places of every key of buf_key. | |
Histograms of every radix digit place of a key buffer, in a single read of the keys.
Definition in file digit_histogram.hpp.