kokkos-execution 0.0.1
Loading...
Searching...
No Matches
Kokkos::Execution::ExecutionSpaceImpl::Scheduler< Exec > Struct Template Reference

Scheduler for a Kokkos execution space. More...

#include <execution_space.hpp>

Classes

struct  OpState
struct  Sender

Public Types

using scheduler_concept = stdexec::scheduler_t
 As per https://eel.is/c++draft/exec.sched#1.
using execution_space = Exec

Public Member Functions

constexpr auto schedule () const noexcept -> Sender
constexpr auto query (stdexec::get_completion_domain_t< stdexec::set_value_t >) const noexcept -> Domain
constexpr auto query (stdexec::get_completion_scheduler_t< stdexec::set_value_t >) const noexcept -> Scheduler

Public Attributes

State< Exec > * state

Friends

bool operator== (const Scheduler &, const Scheduler &) noexcept=default

Detailed Description

template<Kokkos::ExecutionSpace Exec>
struct Kokkos::Execution::ExecutionSpaceImpl::Scheduler< Exec >

Scheduler for a Kokkos execution space.

Note that storing a Kokkos execution space instance and moving it around generally implies a shared pointer copy, see https://github.com/kokkos/kokkos/pull/8807.

Definition at line 34 of file execution_space.hpp.

Member Typedef Documentation

◆ execution_space

template<Kokkos::ExecutionSpace Exec>
using Kokkos::Execution::ExecutionSpaceImpl::Scheduler< Exec >::execution_space = Exec

Definition at line 38 of file execution_space.hpp.

◆ scheduler_concept

template<Kokkos::ExecutionSpace Exec>
using Kokkos::Execution::ExecutionSpaceImpl::Scheduler< Exec >::scheduler_concept = stdexec::scheduler_t

As per https://eel.is/c++draft/exec.sched#1.

Definition at line 36 of file execution_space.hpp.

Member Function Documentation

◆ query() [1/2]

template<Kokkos::ExecutionSpace Exec>
auto Kokkos::Execution::ExecutionSpaceImpl::Scheduler< Exec >::query ( stdexec::get_completion_domain_t< stdexec::set_value_t > ) const->Domain
inlinenodiscardconstexprnoexcept

Definition at line 102 of file execution_space.hpp.

◆ query() [2/2]

template<Kokkos::ExecutionSpace Exec>
auto Kokkos::Execution::ExecutionSpaceImpl::Scheduler< Exec >::query ( stdexec::get_completion_scheduler_t< stdexec::set_value_t > ) const->Scheduler
inlinenodiscardconstexprnoexcept

Definition at line 107 of file execution_space.hpp.

◆ schedule()

template<Kokkos::ExecutionSpace Exec>
auto Kokkos::Execution::ExecutionSpaceImpl::Scheduler< Exec >::schedule ( ) const->Sender
inlinenodiscardconstexprnoexcept

Definition at line 97 of file execution_space.hpp.

◆ operator==

template<Kokkos::ExecutionSpace Exec>
bool operator== ( const Scheduler< Exec > & ,
const Scheduler< Exec > &  )
friend

Member Data Documentation

◆ state

template<Kokkos::ExecutionSpace Exec>
State<Exec>* Kokkos::Execution::ExecutionSpaceImpl::Scheduler< Exec >::state

Definition at line 114 of file execution_space.hpp.


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