kokkos-execution 0.0.1
Loading...
Searching...
No Matches
dispatch_label.hpp File Reference
#include <algorithm>
#include <array>
#include <ranges>
#include <string_view>
#include "stdexec/__detail/__config.hpp"
#include "Kokkos_Macros.hpp"
#include "Kokkos_Core.hpp"
#include "kokkos-execution/impl/fixed_string.hpp"

Go to the source code of this file.

Namespaces

namespace  Kokkos
namespace  Kokkos::Execution
namespace  Kokkos::Execution::Impl
namespace  Kokkos::Execution::Impl::detail

Macros

#define KOKKOS_EXECUTION_IMPL_DISPATCH_LABEL(_exec_, _suffix_)

Functions

template<Kokkos::ExecutionSpace Exec, FixedString Suffix>
consteval auto Kokkos::Execution::Impl::detail::dispatch_label ()
template<Kokkos::ExecutionSpace Exec, FixedString Suffix>
consteval auto Kokkos::Execution::Impl::dispatch_label () noexcept(noexcept(std::string_view{dispatch_label_v< Exec, Suffix >.data(), dispatch_label_v< Exec, Suffix >.size()})) -> decltype(std::string_view{dispatch_label_v< Exec, Suffix >.data(), dispatch_label_v< Exec, Suffix >.size()})
 View the dispatch label as a std::string_view.

Variables

template<Kokkos::ExecutionSpace Exec, FixedString Suffix>
constexpr auto Kokkos::Execution::Impl::dispatch_label_v = detail::dispatch_label<Exec, Suffix>()
 Get the dispatch label from Exec and Suffix.

Macro Definition Documentation

◆ KOKKOS_EXECUTION_IMPL_DISPATCH_LABEL

#define KOKKOS_EXECUTION_IMPL_DISPATCH_LABEL ( _exec_,
_suffix_ )
Value:
consteval auto dispatch_label() noexcept(noexcept(std::string_view{dispatch_label_v< Exec, Suffix >.data(), dispatch_label_v< Exec, Suffix >.size()})) -> decltype(std::string_view{dispatch_label_v< Exec, Suffix >.data(), dispatch_label_v< Exec, Suffix >.size()})
View the dispatch label as a std::string_view.

Definition at line 51 of file dispatch_label.hpp.