Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Static Public Member Functions | Static Public Attributes | List of all members
shamalgs::algorithm::details::DigitBinner< T, digit_bit_len > Class Template Reference

Static Public Member Functions

template<class Acc >
static void fetch_add_bin (Acc accessor, T digit_val, T digit_place)
 
static T get_digit_value (T value, T digit_place)
 
template<class Acc >
static void add_bin_key (Acc accessor, T value_to_bin)
 
template<u32 group_size, class Tkey >
static sycl::buffer< u32make_digit_histogram (sycl::queue &q, sycl::buffer< Tkey > &buf_key, u32 len)
 

Static Public Attributes

static constexpr T bitlen_T = shambase::bitsizeof<T>
 
static constexpr T digit_bit_places = bitlen_T / digit_bit_len
 
static constexpr T digit_count = (1U << digit_bit_len)
 
static constexpr T value_count = digit_bit_places * digit_count
 
static constexpr T digit_mask = digit_count - 1
 

Detailed Description

template<class T, u32 digit_bit_len>
class shamalgs::algorithm::details::DigitBinner< T, digit_bit_len >

Definition at line 30 of file DigitBinner.hpp.

Member Function Documentation

◆ add_bin_key()

template<class T , u32 digit_bit_len>
template<class Acc >
static void shamalgs::algorithm::details::DigitBinner< T, digit_bit_len >::add_bin_key ( Acc  accessor,
value_to_bin 
)
inlinestatic

Definition at line 57 of file DigitBinner.hpp.

◆ fetch_add_bin()

template<class T , u32 digit_bit_len>
template<class Acc >
static void shamalgs::algorithm::details::DigitBinner< T, digit_bit_len >::fetch_add_bin ( Acc  accessor,
digit_val,
digit_place 
)
inlinestatic

Definition at line 42 of file DigitBinner.hpp.

◆ get_digit_value()

template<class T , u32 digit_bit_len>
static T shamalgs::algorithm::details::DigitBinner< T, digit_bit_len >::get_digit_value ( value,
digit_place 
)
inlinestatic

Definition at line 52 of file DigitBinner.hpp.

◆ make_digit_histogram()

template<class T , u32 digit_bit_len>
template<u32 group_size, class Tkey >
static sycl::buffer< u32 > shamalgs::algorithm::details::DigitBinner< T, digit_bit_len >::make_digit_histogram ( sycl::queue &  q,
sycl::buffer< Tkey > &  buf_key,
u32  len 
)
inlinestatic

Definition at line 68 of file DigitBinner.hpp.

Member Data Documentation

◆ bitlen_T

template<class T , u32 digit_bit_len>
constexpr T shamalgs::algorithm::details::DigitBinner< T, digit_bit_len >::bitlen_T = shambase::bitsizeof<T>
staticconstexpr

Definition at line 32 of file DigitBinner.hpp.

◆ digit_bit_places

template<class T , u32 digit_bit_len>
constexpr T shamalgs::algorithm::details::DigitBinner< T, digit_bit_len >::digit_bit_places = bitlen_T / digit_bit_len
staticconstexpr

Definition at line 33 of file DigitBinner.hpp.

◆ digit_count

template<class T , u32 digit_bit_len>
constexpr T shamalgs::algorithm::details::DigitBinner< T, digit_bit_len >::digit_count = (1U << digit_bit_len)
staticconstexpr

Definition at line 34 of file DigitBinner.hpp.

◆ digit_mask

template<class T , u32 digit_bit_len>
constexpr T shamalgs::algorithm::details::DigitBinner< T, digit_bit_len >::digit_mask = digit_count - 1
staticconstexpr

Definition at line 36 of file DigitBinner.hpp.

◆ value_count

template<class T , u32 digit_bit_len>
constexpr T shamalgs::algorithm::details::DigitBinner< T, digit_bit_len >::value_count = digit_bit_places * digit_count
staticconstexpr

Definition at line 35 of file DigitBinner.hpp.


The documentation for this class was generated from the following file: