kokkos-execution
0.0.1
Toggle main menu visibility
Loading...
Searching...
No Matches
diagnostics.hpp
Go to the documentation of this file.
1
#ifndef KOKKOS_EXECUTION_GRAPH_DIAGNOSTICS_HPP
2
#define KOKKOS_EXECUTION_GRAPH_DIAGNOSTICS_HPP
3
9
10
namespace
Kokkos::Execution::GraphImpl
{
11
14
struct
OPERATION_STATE_DOES_NOT_REMAIN_ON_GRAPH;
15
struct
BECAUSE_THE_INNER_OPERATION_STATE_DOES_NOT_REMAIN_ON_GRAPH;
16
struct
BECAUSE_AT_LEAST_ONE_CHILD_DOES_NOT_REMAIN_ON_GRAPH;
18
21
struct
CANNOT_DISPATCH_THIS_ALGORITHM_TO_THE_GRAPH_SCHEDULER;
22
struct
BECAUSE_THERE_IS_NO_GRAPH_SCHEDULER_IN_THE_ENVIRONMENT;
24
30
template
<
typename
Tag,
typename
Sndr,
typename
... Env>
31
auto
no_graph_scheduler_in_env
() noexcept {
32
return
stdexec::__not_a_sender<
33
stdexec::_WHAT_(CANNOT_DISPATCH_THIS_ALGORITHM_TO_THE_GRAPH_SCHEDULER),
34
stdexec::_WHY_(BECAUSE_THERE_IS_NO_GRAPH_SCHEDULER_IN_THE_ENVIRONMENT),
35
stdexec::_WHERE_(stdexec::_IN_ALGORITHM_, Tag),
36
stdexec::_WITH_SENDER_<Sndr>,
37
stdexec::_WITH_ENVIRONMENT_(Env...)
38
>{};
39
}
40
41
}
// namespace Kokkos::Execution::GraphImpl
42
43
#endif
// KOKKOS_EXECUTION_GRAPH_DIAGNOSTICS_HPP
Kokkos::Execution::GraphImpl
Definition
graph.hpp:26
Kokkos::Execution::GraphImpl::no_graph_scheduler_in_env
auto no_graph_scheduler_in_env() noexcept
Show a better compile diagnostic when there is no Kokkos::Execution::GraphImpl::Scheduler found.
Definition
diagnostics.hpp:31
kokkos-execution
graph
diagnostics.hpp
Generated on
for kokkos-execution by
1.18.0