Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
segmented_sort_in_place.hpp File Reference
#include "shambackends/DeviceBuffer.hpp"
#include "shambackends/DeviceScheduler.hpp"
#include "shambackends/kernel_call.hpp"
#include <string>
#include <vector>
Include dependency graph for segmented_sort_in_place.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, ...)
namespace  shamalgs::primitives::impl
 namespace to control implementation behavior

Functions

template<class T>
void shamalgs::primitives::segmented_sort_in_place (sham::DeviceBuffer< T > &buf, const sham::DeviceBuffer< u32 > &offsets)
std::vector< std::string > shamalgs::primitives::impl::get_default_impl_list_segmented_sort_in_place ()
 Get list of available segmented sort in place implementations, as config json strings.
std::string shamalgs::primitives::impl::get_current_impl_segmented_sort_in_place ()
 Get the current implementation for segmented sort in place, as a config json string.
bool shamalgs::primitives::impl::is_impl_set_segmented_sort_in_place ()
 Check if an implementation has been selected for segmented sort in place.
void shamalgs::primitives::impl::set_impl_segmented_sort_in_place (const std::string &impl)
 Set the implementation for segmented sort in place, from a config json string.
void shamalgs::primitives::impl::autoselect_impl_segmented_sort_in_place (const sham::DeviceScheduler_ptr &dev_sched)
 Select the default implementation for segmented sort in place.

Detailed Description

Author
Timothée David–Cléris (tim.s.nosp@m.hamr.nosp@m.ock@p.nosp@m.roto.nosp@m.n.me)

Definition in file segmented_sort_in_place.hpp.