kokkos-execution
0.0.1
Toggle main menu visibility
Loading...
Searching...
No Matches
sender_concepts.hpp
Go to the documentation of this file.
1
#ifndef KOKKOS_EXECUTION_GRAPH_SENDER_CONCEPTS_HPP
2
#define KOKKOS_EXECUTION_GRAPH_SENDER_CONCEPTS_HPP
3
4
#include "
kokkos-execution/stdexec.hpp
"
5
6
#include "
kokkos-execution/graph/graph_fwd.hpp
"
7
8
namespace
Kokkos::Execution::GraphImpl
{
9
11
template
<
typename
Sndr,
typename
... Env>
12
concept
graph_completing_sender
=
13
stdexec::sender<Sndr>
14
&& stdexec::__is_instance_of<
15
std::invoke_result_t<stdexec::get_completion_scheduler_t<stdexec::set_value_t>, stdexec::env_of_t<Sndr>, Env...>,
16
Scheduler
17
>;
18
19
template
<
typename
Sndr,
typename
... Env>
20
struct
GraphCompletingSender
:
public
std::bool_constant<graph_completing_sender<Sndr, Env...>> { };
21
22
}
// namespace Kokkos::Execution::GraphImpl
23
24
#endif
// KOKKOS_EXECUTION_GRAPH_SENDER_CONCEPTS_HPP
Kokkos::Execution::GraphImpl::graph_completing_sender
Concept for a sender whose completion scheduler is Kokkos::Execution::GraphImpl::Scheduler.
Definition
sender_concepts.hpp:12
graph_fwd.hpp
stdexec.hpp
Kokkos::Execution::GraphImpl
Definition
graph.hpp:26
Kokkos::Execution::GraphImpl::GraphCompletingSender
Definition
sender_concepts.hpp:20
Kokkos::Execution::GraphImpl::Scheduler
Scheduler for a Kokkos::Experimental::Graph.
Definition
graph.hpp:30
kokkos-execution
graph
sender_concepts.hpp
Generated on
for kokkos-execution by
1.18.0