Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Namespaces | Enumerations | Functions | Variables
scan_exclusive_sum_in_place.cpp File Reference

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

#include "shamalgs/primitives/scan_exclusive_sum_in_place.hpp"
#include "shambase/StlContainerConversion.hpp"
#include "shambase/exception.hpp"
#include "shamalgs/details/numeric/numericFallback.hpp"
#include "shamalgs/details/numeric/scanDecoupledLookback.hpp"
#include "shambackends/DeviceBuffer.hpp"
#include "shambackends/EventList.hpp"
#include <numeric>
+ Include dependency graph for scan_exclusive_sum_in_place.cpp:

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, ...)
 

Enumerations

enum class  EXSCAN_IN_PLACE_IMPL : u32 { STD_SCAN }
 

Functions

EXSCAN_IN_PLACE_IMPL shamalgs::primitives::get_default_scan_exclusive_sum_in_place_impl ()
 
EXSCAN_IN_PLACE_IMPL shamalgs::primitives::scan_exclusive_sum_in_place_impl_from_params (const std::string &impl)
 
shamalgs::impl_param shamalgs::primitives::scan_exclusive_sum_in_place_impl_to_params (const EXSCAN_IN_PLACE_IMPL &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

EXSCAN_IN_PLACE_IMPL shamalgs::primitives::scan_exclusive_sum_in_place_impl = get_default_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.