![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Provides functions to generate and fill buffers with sequential indices. More...
#include "shambackends/DeviceBuffer.hpp"
Include dependency graph for gen_buffer_index.hpp:
This graph shows which files directly or indirectly include this file: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 | |
| sham::DeviceBuffer< u32 > | shamalgs::primitives::gen_buffer_index (sham::DeviceScheduler_ptr sched, u32 len) |
| Generates a buffer where buf[i] = i. | |
| void | shamalgs::primitives::fill_buffer_index (sham::DeviceBuffer< u32 > &buf, u32 len) |
| Fills a buffer with sequential indices, such that buf[i] = i. | |
Provides functions to generate and fill buffers with sequential indices.
Definition in file gen_buffer_index.hpp.