kokkos-execution 0.0.1
Loading...
Searching...
No Matches
Kokkos::Execution::parallel_for_t Struct Reference

Custom algorithm for the Kokkos::parallel_for construct. More...

#include <parallel_for.hpp>

Public Member Functions

template<typename Functor, Kokkos::ExecutionPolicy ExecPolicy>
constexpr auto operator() (std::string label, ExecPolicy policy, Functor functor) const
template<typename Functor, Kokkos::ExecutionPolicy ExecPolicy>
constexpr auto operator() (ExecPolicy policy, Functor functor) const
template<typename Functor, std::integral T>
constexpr auto operator() (std::string label, const T work_count, Functor functor) const
template<typename Functor, std::integral T>
constexpr auto operator() (const T work_count, Functor functor) const
template<stdexec::sender Sndr, typename Functor, Kokkos::ExecutionPolicy ExecPolicy>
constexpr auto operator() (Sndr &&sndr, std::string label, ExecPolicy policy, Functor functor) const

Detailed Description

Custom algorithm for the Kokkos::parallel_for construct.

Definition at line 18 of file parallel_for.hpp.

Member Function Documentation

◆ operator()() [1/5]

template<typename Functor, std::integral T>
auto Kokkos::Execution::parallel_for_t::operator() ( const T work_count,
Functor functor ) const
inlineconstexpr
Warning
May default to Kokkos::DefaultExecutionSpace, see https://github.com/kokkos/kokkos/blob/be33a115413f5eef8f82ff0ad1ca85c331edf153/core/src/Kokkos_Parallel.hpp#L155-L157.

Definition at line 40 of file parallel_for.hpp.

References operator()().

◆ operator()() [2/5]

template<typename Functor, Kokkos::ExecutionPolicy ExecPolicy>
auto Kokkos::Execution::parallel_for_t::operator() ( ExecPolicy policy,
Functor functor ) const
inlineconstexpr

Definition at line 25 of file parallel_for.hpp.

References operator()().

◆ operator()() [3/5]

template<stdexec::sender Sndr, typename Functor, Kokkos::ExecutionPolicy ExecPolicy>
auto Kokkos::Execution::parallel_for_t::operator() ( Sndr && sndr,
std::string label,
ExecPolicy policy,
Functor functor ) const
inlineconstexpr

Definition at line 45 of file parallel_for.hpp.

◆ operator()() [4/5]

template<typename Functor, std::integral T>
auto Kokkos::Execution::parallel_for_t::operator() ( std::string label,
const T work_count,
Functor functor ) const
inlineconstexpr

Definition at line 30 of file parallel_for.hpp.

References operator()().

◆ operator()() [5/5]

template<typename Functor, Kokkos::ExecutionPolicy ExecPolicy>
auto Kokkos::Execution::parallel_for_t::operator() ( std::string label,
ExecPolicy policy,
Functor functor ) const
inlineconstexpr

Definition at line 20 of file parallel_for.hpp.


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