SumPlus< Scalar, SavedScalar, Space > Struct Template Reference#
|
DiFfRG
Discretization Framework for functional Renormalization Group flows
|
DiFfRG::SumPlus< Scalar, SavedScalar, Space > Struct Template Reference
An extension of the Kokkos::Sum reducer that adds a constant value to the result. More...
#include <kokkos.hh>
Public Types | |
| using | reducer = SumPlus< Scalar, SavedScalar, Space > |
| using | value_type = std::remove_cv_t< Scalar > |
| using | saved_type = std::remove_cv_t< SavedScalar > |
| using | result_view_type = Kokkos::View< value_type, Space > |
Private Attributes | |
| result_view_type | value |
| bool | references_scalar_v |
| const saved_type | plus_value |
Detailed Description
template<class Scalar, class SavedScalar, class Space>
struct DiFfRG::SumPlus< Scalar, SavedScalar, Space >
struct DiFfRG::SumPlus< Scalar, SavedScalar, Space >
An extension of the Kokkos::Sum reducer that adds a constant value to the result.
- Template Parameters
-
Scalar the type of the scalar value to be summed. Space execution space for the Kokkos::Sum reducer.
Member Typedef Documentation
◆ reducer
| using DiFfRG::SumPlus< Scalar, SavedScalar, Space >::reducer = SumPlus<Scalar, SavedScalar, Space> |
◆ result_view_type
| using DiFfRG::SumPlus< Scalar, SavedScalar, Space >::result_view_type = Kokkos::View<value_type, Space> |
◆ saved_type
| using DiFfRG::SumPlus< Scalar, SavedScalar, Space >::saved_type = std::remove_cv_t<SavedScalar> |
◆ value_type
| using DiFfRG::SumPlus< Scalar, SavedScalar, Space >::value_type = std::remove_cv_t<Scalar> |
Constructor & Destructor Documentation
◆ SumPlus() [1/2]
|
inline |
◆ SumPlus() [2/2]
|
inline |
Member Function Documentation
◆ final()
|
inline |
◆ init()
|
inline |
◆ join()
|
inline |
◆ reference()
|
inline |
◆ references_scalar()
|
inline |
◆ view()
|
inline |
Member Data Documentation
◆ plus_value
|
private |
◆ references_scalar_v
|
private |
◆ value
|
private |
The documentation for this struct was generated from the following file:
- /__w/DiFfRG_current/DiFfRG_current/DiFfRG/include/DiFfRG/common/kokkos.hh
Generated by