/home/runner/work/DiFfRG_current/DiFfRG_current/DiFfRG/include/DiFfRG/common/tbb.hh Source File#
|
DiFfRG
Discretization Framework for functional Renormalization Group flows
|
tbb.hh
Go to the documentation of this file.
51 template <int dim> void advance_index(const device::array<size_t, dim> &grid_size, device::array<size_t, dim> &idx)
61 NT serial_sum(const device::array<size_t, dim> &grid_size, const FUN &functor, const std::size_t begin,
void advance_index(const device::array< size_t, dim > &grid_size, device::array< size_t, dim > &idx)
Advance a row-major multi-index by one (odometer increment).
Definition tbb.hh:51
void unflatten_index(std::size_t flat, const device::array< size_t, dim > &grid_size, device::array< size_t, dim > &idx)
Turn a row-major flat index into a multi-index.
Definition tbb.hh:41
constexpr std::size_t reduction_serial_cutoff
Number of grid points below which a reduction is carried out serially.
Definition tbb.hh:28
NT serial_sum(const device::array< size_t, dim > &grid_size, const FUN &functor, const std::size_t begin, const std::size_t end)
Strictly row-major serial sum of functor over the flat index range [begin, end).
Definition tbb.hh:61
constexpr std::size_t reduction_grainsize
Leaf size of the deterministic reduction tree.
Definition tbb.hh:37
Definition complex_math.hh:10
NT TBBReduction(const device::array< size_t, dim > &grid_size, const FUN &functor)
Bitwise reproducible reduction of functor over a dim-dimensional index grid.
Definition tbb.hh:88
Generated by