Function treeweave::guru::exclusive_scan
Defined in File guru.hpp
Function Documentation
-
inline void treeweave::guru::exclusive_scan(std::span<std::uint32_t> counts)
In-place exclusive scan (implicit init 0 — the only correct start offset):
counts[b]becomes the start offset of bin b (Reinecke). After ascatterconsumes the starts as cursors,counts[b]holds the one-past-end of bin b — the arrayfor_each_runreads.