kokkos-execution 0.0.1
Loading...
Searching...
No Matches
Kokkos::Execution::GraphImpl::ThenClosure< Exec, Functor > Struct Template Reference

#include <then.hpp>

Public Types

using execution_space = Exec
using device_handle_t = Kokkos::Impl::DeviceHandle<Exec>
using node_props_t = typename Kokkos::Impl::NodeCtorProps<std::string, device_handle_t>::uniform_type
template<NodeRef Predecessor>
using node_t

Public Member Functions

template<NodeRef Predecessor>
auto add_node (const Predecessor &predecessor) &&noexcept(false) -> node_t< Predecessor >

Public Attributes

node_props_t node_props
Functor functor

Detailed Description

template<Kokkos::ExecutionSpace Exec, typename Functor>
struct Kokkos::Execution::GraphImpl::ThenClosure< Exec, Functor >

Definition at line 27 of file then.hpp.

Member Typedef Documentation

◆ device_handle_t

template<Kokkos::ExecutionSpace Exec, typename Functor>
using Kokkos::Execution::GraphImpl::ThenClosure< Exec, Functor >::device_handle_t = Kokkos::Impl::DeviceHandle<Exec>

Definition at line 29 of file then.hpp.

◆ execution_space

template<Kokkos::ExecutionSpace Exec, typename Functor>
using Kokkos::Execution::GraphImpl::ThenClosure< Exec, Functor >::execution_space = Exec

Definition at line 28 of file then.hpp.

◆ node_props_t

template<Kokkos::ExecutionSpace Exec, typename Functor>
using Kokkos::Execution::GraphImpl::ThenClosure< Exec, Functor >::node_props_t = typename Kokkos::Impl::NodeCtorProps<std::string, device_handle_t>::uniform_type

Definition at line 30 of file then.hpp.

◆ node_t

template<Kokkos::ExecutionSpace Exec, typename Functor>
template<NodeRef Predecessor>
using Kokkos::Execution::GraphImpl::ThenClosure< Exec, Functor >::node_t
Initial value:
decltype(std::declval<const Predecessor&>()
.then(std::declval<node_props_t&&>(), std::declval<Functor&&>()))

Definition at line 33 of file then.hpp.

Member Function Documentation

◆ add_node()

template<Kokkos::ExecutionSpace Exec, typename Functor>
template<NodeRef Predecessor>
auto Kokkos::Execution::GraphImpl::ThenClosure< Exec, Functor >::add_node ( const Predecessor & predecessor) &&->node_t< Predecessor >
inline
Warning
Unconditionally not noexcept because adding a node may throw.

Definition at line 38 of file then.hpp.

References functor, Kokkos::Execution::GraphImpl::graph_add_node_event(), KOKKOS_EXECUTION_IMPL_GRAPH_ADD_NODE_DEBUG_LOGGING, and node_props.

Member Data Documentation

◆ functor

template<Kokkos::ExecutionSpace Exec, typename Functor>
Functor Kokkos::Execution::GraphImpl::ThenClosure< Exec, Functor >::functor

Definition at line 45 of file then.hpp.

◆ node_props

template<Kokkos::ExecutionSpace Exec, typename Functor>
node_props_t Kokkos::Execution::GraphImpl::ThenClosure< Exec, Functor >::node_props

Definition at line 44 of file then.hpp.


The documentation for this struct was generated from the following file:
  • /__w/kokkos-execution/kokkos-execution/kokkos-execution/graph/then.hpp