kokkos-execution 0.0.1
Loading...
Searching...
No Matches
bulk.hpp
Go to the documentation of this file.
1#ifndef KOKKOS_EXECUTION_IMPL_BULK_HPP
2#define KOKKOS_EXECUTION_IMPL_BULK_HPP
3
4#include "stdexec/execution.hpp"
5
7
9template <typename Data>
10concept has_parallel_policy = requires(const Data& data) {
11 { data.__pol_ } -> std::same_as<const stdexec::__bulk::__policy_wrapper<stdexec::parallel_policy>&>;
12};
13
15template <typename...>
17
18template <typename Policy, typename Shape, typename Functor>
20 using policy_t = Policy;
21 using shape_t = Shape;
22 using functor_t = Functor;
23};
24
25template <typename Data>
27
28} // namespace Kokkos::Execution::Impl
29
30#endif // KOKKOS_EXECUTION_IMPL_BULK_HPP
See https://github.com/NVIDIA/stdexec/blob/16076a81efa4477513e6ede9c2741fd034ecef99/include/stdexec/_...
Definition bulk.hpp:10
BulkTraits< std::remove_cvref_t< Data > > bulk_traits
Definition bulk.hpp:26
Extract the policy, shape and functor type of bulk data.
Definition bulk.hpp:16