Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
scan_exclusive_sum_in_place.cpp File Reference

Implementation of the in-place exclusive scan primitive. More...

Include dependency graph for scan_exclusive_sum_in_place.cpp:

Go to the source code of this file.

Classes

struct  shamalgs::primitives::impl::StdScan
 std::exclusive_scan on a host copy of the buffer (portable fallback) More...

Namespaces

namespace  shamalgs
 namespace to contain everything implemented by shamalgs
namespace  shamalgs::primitives
 namespace for primitive algorithm (e.g. sort, scan, reductions, ...)
namespace  shamalgs::primitives::impl
 namespace to control implementation behavior

Functions

 shamalgs::primitives::impl::SHAMALGS_REGISTER_IMPL (scan_exclusive_sum_in_place_impl_name, scan_exclusive_sum_in_place_impl)
template<class T>
void shamalgs::primitives::scan_exclusive_sum_in_place (sham::DeviceBuffer< T > &buf1, u32 len)
 Compute exclusive prefix sum in-place on a device buffer.
template void shamalgs::primitives::scan_exclusive_sum_in_place< u32 > (sham::DeviceBuffer< u32 > &buf1, u32 len)

Variables

constexpr std::string_view shamalgs::primitives::impl::scan_exclusive_sum_in_place_impl_name = "scan_exclusive_sum_in_place"
 Registry name, shared by its registration and the dispatch site(s).
shamalgs::ImplVariantGlobal< StdScan > shamalgs::primitives::impl::scan_exclusive_sum_in_place_impl

Detailed Description

Implementation of the in-place exclusive scan primitive.

Author
Anass Serhani (anass.nosp@m..ser.nosp@m.hani@.nosp@m.cnrs.nosp@m..fr)
Timothée David–Cléris (tim.s.nosp@m.hamr.nosp@m.ock@p.nosp@m.roto.nosp@m.n.me)

Definition in file scan_exclusive_sum_in_place.cpp.