TiledArray::math::VectorOpUnwind< N > Struct Template Reference
Documentation
template<std::size_t N>
struct TiledArray::math::VectorOpUnwind< N >
Vector loop unwind helper class.
This object will unwind N
steps of a vector operation loop.
- Template Parameters
-
N The number of steps to unwind
Definition at line 110 of file vector_op.h.
Public Types | |
typedef VectorOpUnwind< N - 1ul > | VectorOpUnwindN1 |
Static Public Member Functions | |
template<typename Op , typename Result , typename... Args> | |
static TILEDARRAY_FORCE_INLINE void | for_each (Op &&op, Result *MADNESS_RESTRICT const result, const Args *MADNESS_RESTRICT const ... args) |
template<typename Op , typename Result , typename... Args> | |
static TILEDARRAY_FORCE_INLINE void | for_each_ptr (Op &&op, Result *MADNESS_RESTRICT const result, const Args *MADNESS_RESTRICT const ... args) |
template<typename Op , typename Result , typename... Args> | |
static TILEDARRAY_FORCE_INLINE void | reduce (Op &&op, Result &MADNESS_RESTRICT result, const Args *MADNESS_RESTRICT const ... args) |
template<typename Result , typename Arg > | |
static TILEDARRAY_FORCE_INLINE void | scatter (Result *MADNESS_RESTRICT const result, const Arg *MADNESS_RESTRICT const arg, const std::size_t result_stride) |
template<typename Result , typename Arg > | |
static TILEDARRAY_FORCE_INLINE void | gather (Result *MADNESS_RESTRICT const result, const Arg *MADNESS_RESTRICT const arg, std::size_t arg_stride) |
Static Public Attributes | |
static constexpr std::size_t | offset = TILEDARRAY_LOOP_UNWIND - N - 1ul |
Member Typedef Documentation
◆ VectorOpUnwindN1
template<std::size_t N>
typedef VectorOpUnwind<N - 1ul> TiledArray::math::VectorOpUnwind< N >::VectorOpUnwindN1 |
Definition at line 111 of file vector_op.h.
Member Function Documentation
◆ for_each()
template<std::size_t N>
template<typename Op , typename Result , typename... Args>
|
inlinestatic |
◆ for_each_ptr()
template<std::size_t N>
template<typename Op , typename Result , typename... Args>
|
inlinestatic |
◆ gather()
template<std::size_t N>
template<typename Result , typename Arg >
|
inlinestatic |
◆ reduce()
template<std::size_t N>
template<typename Op , typename Result , typename... Args>
|
inlinestatic |
◆ scatter()
template<std::size_t N>
template<typename Result , typename Arg >
|
inlinestatic |
Member Data Documentation
◆ offset
template<std::size_t N>
|
staticconstexpr |
Definition at line 113 of file vector_op.h.
The documentation for this struct was generated from the following file:
- TiledArray/math/vector_op.h