1#ifndef KOKKOS_EXECUTION_IMPL_DISPATCH_LABEL_HPP
2#define KOKKOS_EXECUTION_IMPL_DISPATCH_LABEL_HPP
8#include "Kokkos_Core.hpp"
17 std::copy_n(str, N,
data);
20 consteval auto size()
const {
27 consteval auto end()
const {
33template <Kokkos::ExecutionSpace Exec, FixedString Suffix>
35 constexpr auto prefix = Kokkos::Impl::TypeInfo<Exec>::name();
36 std::array<char, prefix.size() + Suffix.size() + 1> buf{};
37 auto iter = buf.begin();
38 for (
auto charac: prefix)
40 for (
auto charac: Suffix)
46template <Kokkos::ExecutionSpace Exec, FixedString Suffix>
static constexpr auto dispatch_label_v
Get the dispatch label from Exec and Suffix.
consteval std::string_view dispatch_label() noexcept
View the dispatch label as a std::string_view.
consteval auto end() const
consteval auto begin() const
consteval auto size() const
consteval FixedString(const char(&str)[N]) noexcept