kokkos-utils 0.0.1
 
Loading...
Searching...
No Matches
type_list.hpp File Reference
#include "impl/Kokkos_Utilities.hpp"

Go to the source code of this file.

Classes

struct  Kokkos::utils::impl::TypeListSize< Kokkos::Impl::type_list< Ts... > >
 
struct  Kokkos::utils::impl::TypeListContains< T, Kokkos::Impl::type_list< Ts... > >
 
struct  Kokkos::utils::impl::TypeListAt< I, Kokkos::Impl::type_list< Head, Tail... > >
 
struct  Kokkos::utils::impl::TypeListAt< 0, Kokkos::Impl::type_list< Head, Tail... > >
 
struct  Kokkos::utils::impl::TransformTypeList< TransformerType, Kokkos::Impl::type_list< Ts... > >
 
struct  Kokkos::utils::impl::TypeListToTuple< Kokkos::Impl::type_list< Ts... > >
 
struct  Kokkos::utils::impl::TypeListIndex< T, Kokkos::Impl::type_list< T, Ts... > >
 
struct  Kokkos::utils::impl::TypeListIndex< T, Kokkos::Impl::type_list< Head, Ts... > >
 

Namespaces

namespace  Kokkos
 
namespace  Kokkos::utils
 
namespace  Kokkos::utils::impl
 

Typedefs

Get the @p I th type in a @c Kokkos::Impl::type_list.
template<size_t I, typename T>
using Kokkos::utils::impl::type_list_at_t = typename TypeListAt<I, T>::type
 
Transform a @c Kokkos::Impl::type_list.
template<template< typename > typename TransformerType, typename T>
using Kokkos::utils::impl::transform_type_list_t = typename TransformTypeList<TransformerType, T>::type
 
Convert a @c Kokkos::Impl::type_list into a @c std::tuple.
template<typename T>
using Kokkos::utils::impl::type_list_to_tuple_t = typename TypeListToTuple<T>::type
 

Functions

template<typename TypeList, typename Callable>
constexpr void Kokkos::utils::impl::for_each (Callable callable)
 Calls the instantiation of the call operator of a callable object for each type in a Kokkos::Impl::type_list.
 

Variables

Get the number of types in a @c Kokkos::Impl::type_list.
template<typename T>
constexpr size_t Kokkos::utils::impl::type_list_size_v = TypeListSize<T>::value
 
Whether a type is contained in a @c Kokkos::Impl::type_list.
template<typename T, typename S>
constexpr bool Kokkos::utils::impl::type_list_contains_v = TypeListContains<T, S>::value
 
Get the index of a type in a @c Kokkos::Impl::type_list.
template<typename T, typename S>
constexpr size_t Kokkos::utils::impl::type_list_index_v = TypeListIndex<T, S>::value
 

Detailed Description

This file provides extensions to the Kokkos::Impl::type_list struct in Kokkos_Utilities.hpp.

Definition in file type_list.hpp.