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

#include <parallel_for.hpp>

Public Types

using execution_space = typename ExecPolicy::execution_space
using device_handle_t = Kokkos::Impl::DeviceHandle<execution_space>
using node_props_t = typename Kokkos::Impl::NodeCtorProps<Label, 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
ExecPolicy policy

Detailed Description

template<typename Label, typename Functor, Kokkos::ExecutionPolicy ExecPolicy>
struct Kokkos::Execution::GraphImpl::ParallelForClosure< Label, Functor, ExecPolicy >

Definition at line 15 of file parallel_for.hpp.

Member Typedef Documentation

◆ device_handle_t

template<typename Label, typename Functor, Kokkos::ExecutionPolicy ExecPolicy>
using Kokkos::Execution::GraphImpl::ParallelForClosure< Label, Functor, ExecPolicy >::device_handle_t = Kokkos::Impl::DeviceHandle<execution_space>

Definition at line 17 of file parallel_for.hpp.

◆ execution_space

template<typename Label, typename Functor, Kokkos::ExecutionPolicy ExecPolicy>
using Kokkos::Execution::GraphImpl::ParallelForClosure< Label, Functor, ExecPolicy >::execution_space = typename ExecPolicy::execution_space

Definition at line 16 of file parallel_for.hpp.

◆ node_props_t

template<typename Label, typename Functor, Kokkos::ExecutionPolicy ExecPolicy>
using Kokkos::Execution::GraphImpl::ParallelForClosure< Label, Functor, ExecPolicy >::node_props_t = typename Kokkos::Impl::NodeCtorProps<Label, device_handle_t>::uniform_type

Definition at line 18 of file parallel_for.hpp.

◆ node_t

template<typename Label, typename Functor, Kokkos::ExecutionPolicy ExecPolicy>
template<NodeRef Predecessor>
using Kokkos::Execution::GraphImpl::ParallelForClosure< Label, Functor, ExecPolicy >::node_t
Initial value:
decltype(std::declval<const Predecessor&>().then_parallel_for(
std::declval<node_props_t&&>(),
std::declval<ExecPolicy&&>(),
std::declval<Functor&&>()))

Definition at line 21 of file parallel_for.hpp.

Member Function Documentation

◆ add_node()

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

Definition at line 28 of file parallel_for.hpp.

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

Member Data Documentation

◆ functor

template<typename Label, typename Functor, Kokkos::ExecutionPolicy ExecPolicy>
Functor Kokkos::Execution::GraphImpl::ParallelForClosure< Label, Functor, ExecPolicy >::functor

Definition at line 36 of file parallel_for.hpp.

◆ node_props

template<typename Label, typename Functor, Kokkos::ExecutionPolicy ExecPolicy>
node_props_t Kokkos::Execution::GraphImpl::ParallelForClosure< Label, Functor, ExecPolicy >::node_props

Definition at line 35 of file parallel_for.hpp.

◆ policy

template<typename Label, typename Functor, Kokkos::ExecutionPolicy ExecPolicy>
ExecPolicy Kokkos::Execution::GraphImpl::ParallelForClosure< Label, Functor, ExecPolicy >::policy

Definition at line 37 of file parallel_for.hpp.


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