|
constexpr Idx | cms::alpakatools::divide_up_by (Idx value, Idx divisor) |
|
template<typename TAcc > |
ALPAKA_FN_ACC std::pair< Idx, Idx > | cms::alpakatools::element_index_range_in_block (const TAcc &acc, const Idx elementIdxShift, const unsigned int dimIndex=0u) |
|
template<typename TAcc > |
ALPAKA_FN_ACC std::pair< Idx, Idx > | cms::alpakatools::element_index_range_in_block_truncated (const TAcc &acc, const Idx maxNumberOfElements, const Idx elementIdxShift, const unsigned int dimIndex=0u) |
|
template<typename TAcc > |
ALPAKA_FN_ACC std::pair< Idx, Idx > | cms::alpakatools::element_index_range_in_grid (const TAcc &acc, Idx elementIdxShift, const unsigned int dimIndex=0u) |
|
template<typename TAcc , typename Func > |
ALPAKA_FN_ACC void | cms::alpakatools::for_each_element_in_block (const TAcc &acc, const Idx maxNumberOfElements, const Idx elementIdxShift, const Func func, const unsigned int dimIndex=0) |
|
template<typename TAcc , typename Func > |
ALPAKA_FN_ACC void | cms::alpakatools::for_each_element_in_block (const TAcc &acc, const Idx maxNumberOfElements, const Func func, const unsigned int dimIndex=0) |
|
template<typename TAcc , typename Func > |
ALPAKA_FN_ACC void | cms::alpakatools::for_each_element_in_block_strided (const TAcc &acc, const Idx maxNumberOfElements, const Idx elementIdxShift, const Func func, const unsigned int dimIndex=0) |
|
template<typename TAcc , typename Func > |
ALPAKA_FN_ACC void | cms::alpakatools::for_each_element_in_block_strided (const TAcc &acc, const Idx maxNumberOfElements, const Func func, const unsigned int dimIndex=0) |
|
template<typename TAcc , typename Func > |
ALPAKA_FN_ACC void | cms::alpakatools::for_each_element_in_grid_strided (const TAcc &acc, const Idx maxNumberOfElements, const Idx elementIdxShift, const Func func, const unsigned int dimIndex=0) |
|
template<typename TAcc , typename Func > |
ALPAKA_FN_ACC void | cms::alpakatools::for_each_element_in_grid_strided (const TAcc &acc, const Idx maxNumberOfElements, const Func func, const unsigned int dimIndex=0) |
|
template<typename TAcc , typename = std::enable_if_t<alpaka::isAccelerator<TAcc> and alpaka::Dim<TAcc>::value == 1>> |
WorkDiv< Dim1D > | cms::alpakatools::make_workdiv (Idx blocks, Idx elements) |
|
template<typename TAcc , typename = std::enable_if_t<alpaka::isAccelerator<TAcc>>> |
WorkDiv< alpaka::Dim< TAcc > > | cms::alpakatools::make_workdiv (const Vec< alpaka::Dim< TAcc >> &blocks, const Vec< alpaka::Dim< TAcc >> &elements) |
|
ALPAKA_FN_ACC ALPAKA_FN_INLINE bool | cms::alpakatools::next_valid_element_index_strided (Idx &i, Idx &firstElementIdx, Idx &endElementIdx, const Idx stride, const Idx maxNumberOfElements) |
|
template<typename TAcc , typename = std::enable_if_t<alpaka::isAccelerator<TAcc>>> |
ALPAKA_FN_ACC constexpr bool | cms::alpakatools::once_per_block (TAcc const &acc) |
|
template<typename TAcc , typename = std::enable_if_t<alpaka::isAccelerator<TAcc>>> |
ALPAKA_FN_ACC constexpr bool | cms::alpakatools::once_per_grid (TAcc const &acc) |
|
constexpr Idx | cms::alpakatools::round_up_by (Idx value, Idx divisor) |
|