kokkos-execution
0.0.1
Loading...
Searching...
No Matches
sync_wait.hpp
Go to the documentation of this file.
1
#ifndef KOKKOS_EXECUTION_IMPL_SYNC_WAIT_HPP
2
#define KOKKOS_EXECUTION_IMPL_SYNC_WAIT_HPP
3
4
#include "stdexec/execution.hpp"
5
6
namespace
Kokkos::Execution::Impl
{
7
9
struct
env
{
10
stdexec::run_loop::scheduler
schd
;
11
12
[[nodiscard]]
13
auto
query
(stdexec::get_scheduler_t)
const
noexcept
-> stdexec::run_loop::scheduler {
14
return
schd
;
15
}
16
17
[[nodiscard]]
18
auto
query
(stdexec::get_delegation_scheduler_t)
const
noexcept
-> stdexec::run_loop::scheduler {
19
return
schd
;
20
}
21
};
22
24
struct
State
{
25
std::exception_ptr
error
;
26
stdexec::run_loop
loop
;
27
};
28
29
}
// namespace Kokkos::Execution::Impl
30
31
#endif
// KOKKOS_EXECUTION_IMPL_SYNC_WAIT_HPP
Kokkos::Execution::Impl
Definition
attributes.hpp:6
Kokkos::Execution::Impl::State
Inspired by https://github.com/NVIDIA/stdexec/blob/16076a81efa4477513e6ede9c2741fd034ecef99/include/s...
Definition
sync_wait.hpp:24
Kokkos::Execution::Impl::State::loop
stdexec::run_loop loop
Definition
sync_wait.hpp:26
Kokkos::Execution::Impl::State::error
std::exception_ptr error
Definition
sync_wait.hpp:25
Kokkos::Execution::Impl::env
Inspired by https://github.com/NVIDIA/stdexec/blob/16076a81efa4477513e6ede9c2741fd034ecef99/include/s...
Definition
sync_wait.hpp:9
Kokkos::Execution::Impl::env::query
auto query(stdexec::get_delegation_scheduler_t) const noexcept -> stdexec::run_loop::scheduler
Definition
sync_wait.hpp:18
Kokkos::Execution::Impl::env::query
auto query(stdexec::get_scheduler_t) const noexcept -> stdexec::run_loop::scheduler
Definition
sync_wait.hpp:13
Kokkos::Execution::Impl::env::schd
stdexec::run_loop::scheduler schd
Definition
sync_wait.hpp:10
kokkos-execution
impl
sync_wait.hpp
Generated on
for kokkos-execution by
1.15.0