kokkos-execution
0.0.1
Toggle main menu visibility
Loading...
Searching...
No Matches
type_info.hpp
Go to the documentation of this file.
1
#ifndef KOKKOS_EXECUTION_IMPL_TYPE_INFO_HPP
2
#define KOKKOS_EXECUTION_IMPL_TYPE_INFO_HPP
3
10
11
#if !defined(__cpp_impl_reflection)
12
# include "Kokkos_TypeInfo.hpp"
13
#else
14
# include <meta>
15
#endif
16
17
namespace
Kokkos::Execution::Impl
{
18
19
template
<
typename
T>
20
constexpr
auto
display_string_of
() noexcept -> std::string_view {
21
#if !defined(__cpp_impl_reflection)
22
return
Kokkos::Impl::TypeInfo<T>::name();
23
#else
24
return
std::meta::display_string_of(^^T);
25
#endif
26
}
27
28
}
// namespace Kokkos::Execution::Impl
29
30
#endif
// KOKKOS_EXECUTION_IMPL_TYPE_INFO_HPP
Kokkos::Execution::Impl
Definition
attributes.hpp:6
Kokkos::Execution::Impl::display_string_of
constexpr auto display_string_of() noexcept -> std::string_view
Definition
type_info.hpp:20
kokkos-execution
impl
type_info.hpp
Generated on
for kokkos-execution by
1.18.0