kokkos-execution 0.0.1
Loading...
Searching...
No Matches
Kokkos::Execution::Impl::ParallelForData< Functor, ExecPolicyOrIterSpace, Properties > Struct Template Reference

#include <parallel_for.hpp>

Inheritance diagram for Kokkos::Execution::Impl::ParallelForData< Functor, ExecPolicyOrIterSpace, Properties >:

Public Types

using functor_t = Functor
using policy_or_iter_space_t = ExecPolicyOrIterSpace
using properties_t = properties<Properties...>

Public Member Functions

template<typename Self, typename UnaryOp>
constexpr auto transform_policy_or_iter_space (this Self &&self, UnaryOp &&unary_op) noexcept(noexcept(ParallelForData< functor_t, std::remove_cvref_t< std::invoke_result_t< UnaryOp, decltype(stdexec::__forward_like< Self >(self.policy_or_iter_space))> >, Properties... >{stdexec::__forward_like< Self >(detail::as_base< Properties >(self))..., stdexec::__forward_like< Self >(self.functor), std::forward< UnaryOp >(unary_op)(stdexec::__forward_like< Self >(self.policy_or_iter_space))})) -> decltype(ParallelForData< functor_t, std::remove_cvref_t< std::invoke_result_t< UnaryOp, decltype(stdexec::__forward_like< Self >(self.policy_or_iter_space))> >, Properties... >{stdexec::__forward_like< Self >(detail::as_base< Properties >(self))..., stdexec::__forward_like< Self >(self.functor), std::forward< UnaryOp >(unary_op)(stdexec::__forward_like< Self >(self.policy_or_iter_space))})
 Transform policy_or_iter_space, keeping other data unchanged.

Public Attributes

functor_t functor
policy_or_iter_space_t policy_or_iter_space

Detailed Description

template<typename Functor, execution_policy_or_iteration_space ExecPolicyOrIterSpace, typename... Properties>
struct Kokkos::Execution::Impl::ParallelForData< Functor, ExecPolicyOrIterSpace, Properties >

Definition at line 116 of file parallel_for.hpp.

Member Typedef Documentation

◆ functor_t

template<typename Functor, execution_policy_or_iteration_space ExecPolicyOrIterSpace, typename... Properties>
using Kokkos::Execution::Impl::ParallelForData< Functor, ExecPolicyOrIterSpace, Properties >::functor_t = Functor

Definition at line 117 of file parallel_for.hpp.

◆ policy_or_iter_space_t

template<typename Functor, execution_policy_or_iteration_space ExecPolicyOrIterSpace, typename... Properties>
using Kokkos::Execution::Impl::ParallelForData< Functor, ExecPolicyOrIterSpace, Properties >::policy_or_iter_space_t = ExecPolicyOrIterSpace

Definition at line 118 of file parallel_for.hpp.

◆ properties_t

template<typename Functor, execution_policy_or_iteration_space ExecPolicyOrIterSpace, typename... Properties>
using Kokkos::Execution::Impl::ParallelForData< Functor, ExecPolicyOrIterSpace, Properties >::properties_t = properties<Properties...>

Definition at line 119 of file parallel_for.hpp.

Member Function Documentation

◆ transform_policy_or_iter_space()

template<typename Functor, execution_policy_or_iteration_space ExecPolicyOrIterSpace, typename... Properties>
template<typename Self, typename UnaryOp>
auto Kokkos::Execution::Impl::ParallelForData< Functor, ExecPolicyOrIterSpace, Properties >::transform_policy_or_iter_space ( this Self && self,
UnaryOp && unary_op ) -> decltype(ParallelForData< functor_t, std::remove_cvref_t< std::invoke_result_t< UnaryOp, decltype(stdexec::__forward_like< Self >(self.policy_or_iter_space))> >, Properties... >{stdexec::__forward_like< Self >(detail::as_base< Properties >(self))..., stdexec::__forward_like< Self >(self.functor), std::forward< UnaryOp >(unary_op)(stdexec::__forward_like< Self >(self.policy_or_iter_space))})
inlineconstexprnoexcept

Transform policy_or_iter_space, keeping other data unchanged.

Definition at line 126 of file parallel_for.hpp.

Member Data Documentation

◆ functor

template<typename Functor, execution_policy_or_iteration_space ExecPolicyOrIterSpace, typename... Properties>
functor_t Kokkos::Execution::Impl::ParallelForData< Functor, ExecPolicyOrIterSpace, Properties >::functor

Definition at line 121 of file parallel_for.hpp.

◆ policy_or_iter_space

template<typename Functor, execution_policy_or_iteration_space ExecPolicyOrIterSpace, typename... Properties>
policy_or_iter_space_t Kokkos::Execution::Impl::ParallelForData< Functor, ExecPolicyOrIterSpace, Properties >::policy_or_iter_space

Definition at line 122 of file parallel_for.hpp.


The documentation for this struct was generated from the following file: