AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
axom::bump::utilities::mask_traits< ExecSpace, DefaultMaskType > Struct Template Reference

Determines best mask type to use for an ExecSpace. More...

#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/main/src/axom/bump/utilities/utilities.hpp>

Public Types

using type = typename std::conditional< is_hip(), DefaultMaskType, char >::type
 

Static Public Member Functions

static constexpr bool is_hip ()
 

Detailed Description

template<typename ExecSpace, typename DefaultMaskType = axom::IndexType>
struct axom::bump::utilities::mask_traits< ExecSpace, DefaultMaskType >

Determines best mask type to use for an ExecSpace.

Template Parameters
ExecSpaceThe execution space.
DefaultMaskTypeThe default mask type to use if we cannot use char.

Member Typedef Documentation

◆ type

template<typename ExecSpace , typename DefaultMaskType = axom::IndexType>
using axom::bump::utilities::mask_traits< ExecSpace, DefaultMaskType >::type = typename std::conditional<is_hip(), DefaultMaskType, char>::type

Member Function Documentation

◆ is_hip()

template<typename ExecSpace , typename DefaultMaskType = axom::IndexType>
static constexpr bool axom::bump::utilities::mask_traits< ExecSpace, DefaultMaskType >::is_hip ( )
inlinestaticconstexpr

The documentation for this struct was generated from the following file: