|
kokkos-execution 0.0.1
|
Namespaces | |
| namespace | Functors |
Classes | |
| struct | CheckRcvrEnvQueryableWithSender |
| struct | check_rcvr_env_queryable_with_t |
| struct | CheckSchedulerTypeSender |
| struct | check_scheduler_type_t |
| struct | ContextTest |
| struct | ExecutionSpaceContextTest |
| struct | GraphContextTest |
| struct | SinkReceiver |
| A receiver that can handle all completions and does nothing with them. More... | |
Concepts | |
| concept | has_completion_signatures |
| concept | has_completion_scheduler_for |
Typedefs | |
| template<typename... Args> | |
| using | basic_sender_t = typename stdexec::__basic_sender<Args...>::type |
| See https://github.com/NVIDIA/stdexec/pull/1873#discussion_r2834863237. | |
Functions | |
| template<typename T> | |
| void | atomic_add (T *ptr, const T val) |
Atomically add val to *ptr using system scope and relaxed memory order. | |
| template<stdexec::scheduler Schd> | |
| consteval bool | check_continues_on () |
Check how the scheduler customizes stdexec::continues_on. | |
| template<stdexec::scheduler SchedulerType> | |
| consteval bool | check_scheduler () |
Check that the given type models the stdexec::scheduler concept. | |
| template<Kokkos::ExecutionSpace Exec, Kokkos::ExecutionSpace OtherExec> | |
| bool | are_same_instances (const Exec &exec, const OtherExec &other_exec) |
| template<Kokkos::ExecutionSpace Exec> | |
| constexpr bool | on_device () |
| template<Kokkos::ExecutionSpace Exec> | |
| void | show_exec_space_id (const Exec &exec, std::string_view label="", std::ostream &out=std::cout) |
Variables | |
| template<typename... Queries> | |
| constexpr check_rcvr_env_queryable_with_t< true, Queries... > | check_rcvr_env_queryable_with {} |
| template<typename... Queries> | |
| constexpr check_rcvr_env_queryable_with_t< false, Queries... > | check_rcvr_env_not_queryable_with {} |
| template<typename Tag, stdexec::scheduler Schd> | |
| constexpr check_scheduler_type_t< Tag, Schd > | check_scheduler_type {} |
| using Tests::Utils::basic_sender_t = typename stdexec::__basic_sender<Args...>::type |
See https://github.com/NVIDIA/stdexec/pull/1873#discussion_r2834863237.
Definition at line 10 of file stdexec.hpp.
| bool Tests::Utils::are_same_instances | ( | const Exec & | exec, |
| const OtherExec & | other_exec ) |
Definition at line 13 of file kokkos.hpp.
| void Tests::Utils::atomic_add | ( | T * | ptr, |
| const T | val ) |
Atomically add val to *ptr using system scope and relaxed memory order.
Definition at line 34 of file atomic.hpp.
|
consteval |
Check how the scheduler customizes stdexec::continues_on.
Use this function to ensure your own scheduler is properly customizing everything that's needed.
Check the complete "demangled" sender type.
Diagnose any issue that could make the resulting sender invalid.
Check the completing domain;
It must advertise a valid completion scheduler.
Handle the case of dependent senders.
Definition at line 18 of file check_continues_on.hpp.
|
consteval |
Check that the given type models the stdexec::scheduler concept.
According to https://eel.is/c++draft/exec.sched#1, a valid scheduler must have a scheduler_concept alias. However, as of https://github.com/NVIDIA/stdexec/blob/0e9983599d0c95fca3fd11baa02564eb53fb14f6/include/stdexec/__detail/__schedulers.hpp#L74, it is not checked by stdexec::scheduler.
Related to https://github.com/NVIDIA/stdexec/issues/1406.
According to https://eel.is/c++draft/exec.sched#1, a schedule invocation must return a sender.
Definition at line 10 of file check_scheduler.hpp.
|
constexpr |
Definition at line 22 of file kokkos.hpp.
| void Tests::Utils::show_exec_space_id | ( | const Exec & | exec, |
| std::string_view | label = "", | ||
| std::ostream & | out = std::cout ) |
Definition at line 33 of file kokkos.hpp.
|
inlineconstexpr |
Definition at line 78 of file check_rcvr_env_queryable_with.hpp.
|
inlineconstexpr |
Definition at line 75 of file check_rcvr_env_queryable_with.hpp.
|
inlineconstexpr |
Definition at line 84 of file check_scheduler_type.hpp.