PACMAN 0.1.0
Portable Algorithms for Coupling, Mapping, and Adaptive iNterpolation
Loading...
Searching...
No Matches
execspaces.hpp File Reference
#include <Kokkos_Core.hpp>
#include <cstdlib>
#include <iostream>
#include <variant>

Go to the source code of this file.

Classes

struct  PACMAN::ExecSpaces
 Constants representing available Kokkos execution spaces as unsigned chars, usable both from C++ and the Python bindings. More...
struct  PACMAN::detail::TypeList< Types >
struct  PACMAN::detail::Append< TypeList< Types... >, Type >
struct  PACMAN::detail::ToVariant< TypeList< Types... > >

Namespaces

namespace  PACMAN
namespace  PACMAN::detail
 A type variant which defines the enabled Kokkos execution spaces.

Typedefs

using PACMAN::detail::ExecSpaces0 = TypeList<>
using PACMAN::detail::ExecSpaces1 = ExecSpaces0
using PACMAN::detail::ExecSpaces2 = ExecSpaces1
using PACMAN::detail::ExecSpaces3 = ExecSpaces2
using PACMAN::detail::ExecSpaces4 = ExecSpaces3
using PACMAN::detail::ExecSpaces5 = ExecSpaces4
using PACMAN::detail::ExecSpaces6 = ExecSpaces5
using PACMAN::AvailableExecSpaces = typename detail::ToVariant<detail::ExecSpaces6>::type

Functions

static AvailableExecSpaces PACMAN::MakeExecSpace (const unsigned char s)
 Converts an execution-space selector byte to a variant type.