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

#include <parallel_for.hpp>

Public Types

using node_props_t = NodeProps
using device_handle_t = device_handle_of_t<NodeProps>
using execution_space = exec_of_t<device_handle_t>
using policy_t = Impl::make_policy_result_t<Impl::make_policy_t<execution_space>, ExecPolicyOrIterSpace&&>
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
ExecPolicyOrIterSpace policy_or_iter_space

Detailed Description

template<typename NodeProps, typename Functor, Impl::execution_policy_or_iteration_space ExecPolicyOrIterSpace>
struct Kokkos::Execution::GraphImpl::ParallelForClosure< NodeProps, Functor, ExecPolicyOrIterSpace >

Definition at line 18 of file parallel_for.hpp.

Member Typedef Documentation

◆ device_handle_t

template<typename NodeProps, typename Functor, Impl::execution_policy_or_iteration_space ExecPolicyOrIterSpace>
using Kokkos::Execution::GraphImpl::ParallelForClosure< NodeProps, Functor, ExecPolicyOrIterSpace >::device_handle_t = device_handle_of_t<NodeProps>

Definition at line 20 of file parallel_for.hpp.

◆ execution_space

template<typename NodeProps, typename Functor, Impl::execution_policy_or_iteration_space ExecPolicyOrIterSpace>
using Kokkos::Execution::GraphImpl::ParallelForClosure< NodeProps, Functor, ExecPolicyOrIterSpace >::execution_space = exec_of_t<device_handle_t>

Definition at line 21 of file parallel_for.hpp.

◆ node_props_t

template<typename NodeProps, typename Functor, Impl::execution_policy_or_iteration_space ExecPolicyOrIterSpace>
using Kokkos::Execution::GraphImpl::ParallelForClosure< NodeProps, Functor, ExecPolicyOrIterSpace >::node_props_t = NodeProps

Definition at line 19 of file parallel_for.hpp.

◆ node_t

template<typename NodeProps, typename Functor, Impl::execution_policy_or_iteration_space ExecPolicyOrIterSpace>
template<NodeRef Predecessor>
using Kokkos::Execution::GraphImpl::ParallelForClosure< NodeProps, Functor, ExecPolicyOrIterSpace >::node_t
Initial value:
decltype(std::declval<const Predecessor&>().then_parallel_for(
std::declval<node_props_t&&>(),
std::declval<policy_t&&>(),
std::declval<Functor&&>()))

Definition at line 25 of file parallel_for.hpp.

◆ policy_t

template<typename NodeProps, typename Functor, Impl::execution_policy_or_iteration_space ExecPolicyOrIterSpace>
using Kokkos::Execution::GraphImpl::ParallelForClosure< NodeProps, Functor, ExecPolicyOrIterSpace >::policy_t = Impl::make_policy_result_t<Impl::make_policy_t<execution_space>, ExecPolicyOrIterSpace&&>

Definition at line 22 of file parallel_for.hpp.

Member Function Documentation

◆ add_node()

template<typename NodeProps, typename Functor, Impl::execution_policy_or_iteration_space ExecPolicyOrIterSpace>
template<NodeRef Predecessor>
auto Kokkos::Execution::GraphImpl::ParallelForClosure< NodeProps, Functor, ExecPolicyOrIterSpace >::add_node ( const Predecessor & predecessor) && -> node_t< Predecessor >
inline

Member Data Documentation

◆ functor

template<typename NodeProps, typename Functor, Impl::execution_policy_or_iteration_space ExecPolicyOrIterSpace>
Functor Kokkos::Execution::GraphImpl::ParallelForClosure< NodeProps, Functor, ExecPolicyOrIterSpace >::functor

Definition at line 48 of file parallel_for.hpp.

◆ node_props

template<typename NodeProps, typename Functor, Impl::execution_policy_or_iteration_space ExecPolicyOrIterSpace>
node_props_t Kokkos::Execution::GraphImpl::ParallelForClosure< NodeProps, Functor, ExecPolicyOrIterSpace >::node_props

Definition at line 47 of file parallel_for.hpp.

◆ policy_or_iter_space

template<typename NodeProps, typename Functor, Impl::execution_policy_or_iteration_space ExecPolicyOrIterSpace>
ExecPolicyOrIterSpace Kokkos::Execution::GraphImpl::ParallelForClosure< NodeProps, Functor, ExecPolicyOrIterSpace >::policy_or_iter_space

Definition at line 49 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