|
kokkos-execution 0.0.1
|
Utility functions that wrap constructors of Kokkos execution policies.
More...
#include <make_policy.hpp>
Public Member Functions | |
| auto | operator() (const Exec &exec) const noexcept -> Kokkos::SinglePolicy< Exec, Properties... > |
| template<extents Extents> requires (Extents::rank() == 1) | |
| auto | operator() (const Exec &exec, const Extents &extents) const noexcept -> Kokkos::RangePolicy< Exec, Properties... > |
| template<range_slice_with_default_stride RangeSlice> | |
| auto | operator() (const Exec &exec, const RangeSlice &rgsl) const noexcept -> Kokkos::RangePolicy< Exec, Properties... > |
| template<updatable_to< Exec > ExecPolicy> requires (sizeof...(Properties) == 0) | |
| auto | operator() (const Exec &exec, const ExecPolicy &policy) const noexcept -> ExecPolicy |
| template<typename... Args> requires (!Kokkos::ExecutionSpace<std::remove_cvref_t<Args>> && ...) | |
| auto | operator() (Args &&... args) const noexcept(noexcept(this->operator()(default_instance(), std::forward< Args >(args)...))) -> decltype(this->operator()(default_instance(), std::forward< Args >(args)...)) |
Static Public Member Functions | |
| static Exec | default_instance () noexcept |
Utility functions that wrap constructors of Kokkos execution policies.
They are marked noexcept so that they can be used in noexcept expressions without themselves triggering the expression to be potentially throwing. The constructors of Kokkos execution policies abort if precondition checks fail, but are not marked noexcept.
Definition at line 33 of file make_policy.hpp.
|
inlinestaticnoexcept |
Definition at line 61 of file make_policy.hpp.
|
inlinenodiscardnoexcept |
Definition at line 68 of file make_policy.hpp.
|
inlinenodiscardnoexcept |
Definition at line 35 of file make_policy.hpp.
|
inlinenodiscardnoexcept |
Definition at line 57 of file make_policy.hpp.
|
inlinenodiscardnoexcept |
Definition at line 42 of file make_policy.hpp.
|
inlinenodiscardnoexcept |
Definition at line 49 of file make_policy.hpp.