![]() |
Shamrock 2025.10.0
Astrophysical Code
|
#include "shamalgs/details/numeric/streamCompactExclScan.hpp"#include "shambase/integer.hpp"#include "shambase/string.hpp"#include "shamalgs/details/numeric/numericFallback.hpp"#include "shamalgs/memory.hpp"#include "shamalgs/numeric.hpp"#include "shambackends/kernel_call.hpp"#include "shamcomm/logs.hpp"
Include dependency graph for streamCompactExclScan.cpp:Go to the source code of this file.
Namespaces | |
| namespace | shamalgs |
| namespace to contain everything implemented by shamalgs | |
| namespace | shamalgs::numeric |
| namespace containing the numeric algorithms of shamalgs | |
Functions | |
| std::tuple< std::optional< sycl::buffer< u32 > >, u32 > | shamalgs::numeric::details::stream_compact_excl_scan (sycl::queue &q, sycl::buffer< u32 > &buf_flags, u32 len) |
| Stream compaction algorithm using exclusive summation. | |
| sham::DeviceBuffer< u32 > | shamalgs::numeric::details::stream_compact_excl_scan (const sham::DeviceScheduler_ptr &sched, sham::DeviceBuffer< u32 > &buf_flags, u32 len) |
| Performs stream compaction using exclusive scan on a device. | |
Definition in file streamCompactExclScan.cpp.
| sham::DeviceBuffer< u32 > shamalgs::numeric::details::stream_compact_excl_scan | ( | const sham::DeviceScheduler_ptr & | sched, |
| sham::DeviceBuffer< u32 > & | buf_flags, | ||
| u32 | len | ||
| ) |
Performs stream compaction using exclusive scan on a device.
| sched | Device scheduler that manages the computation queue. |
| buf_flags | Buffer containing flags (0s and 1s) indicating elements to keep. |
| len | Length of the buffer, representing the number of elements to process. |
Definition at line 96 of file streamCompactExclScan.cpp.
Here is the call graph for this function:| std::tuple< std::optional< sycl::buffer< u32 > >, u32 > shamalgs::numeric::details::stream_compact_excl_scan | ( | sycl::queue & | q, |
| sycl::buffer< u32 > & | buf_flags, | ||
| u32 | len | ||
| ) |
Stream compaction algorithm using exclusive summation.
| q | the queue to run on |
| buf_flags | buffer of only 0 and ones |
| len | the length of the buffer considered |
Definition at line 30 of file streamCompactExclScan.cpp.
Here is the call graph for this function: