Morpheus 1.0.0
Dynamic matrix type and algorithms for sparse matrices
Loading...
Searching...
No Matches
Classes | Typedefs | Variables
Space Traits

Various tools for examining the different types of spaces available and relationships between them during compile-time. More...

Collaboration diagram for Space Traits:

Classes

class  Morpheus::has_custom_backend< T >
 Checks if the given type T has a valid custom backend i.e has a CustomBackend container. More...
 
class  Morpheus::is_generic_backend< T >
 Checks if the given type T is a valid generic backend i.e is a GenericBackend container. A valid generic backend is also assumed to be any valid Kokkos Execution Space, Memory Space or Device. More...
 
class  Morpheus::has_generic_backend< T >
 Checks if the given type T has a valid generic backend i.e has a GenericBackend container. A valid generic backend is also assumed to be any valid Kokkos Execution Space, Memory Space or Device. More...
 

Typedefs

template<typename T >
using Morpheus::is_custom_backend = typename Impl::is_custom_backend_helper< typename std::remove_cv< T >::type >::type
 Checks if the given type T is a valid custom backend i.e is a CustomBackend container. More...
 

Variables

template<class T >
constexpr bool Morpheus::is_custom_backend_v = is_custom_backend<T>::value
 Short-hand to is_custom_backend. More...
 
template<class T >
constexpr bool Morpheus::has_custom_backend_v = has_custom_backend<T>::value
 Short-hand to has_custom_backend. More...
 
template<class T >
constexpr bool Morpheus::is_generic_backend_v = is_generic_backend<T>::value
 Short-hand to is_generic_backend. More...
 
template<class T >
constexpr bool Morpheus::has_generic_backend_v = has_generic_backend<T>::value
 Short-hand to has_generic_backend. More...
 

Detailed Description

Various tools for examining the different types of spaces available and relationships between them during compile-time.

Typedef Documentation

◆ is_custom_backend

template<typename T >
using Morpheus::is_custom_backend = typedef typename Impl::is_custom_backend_helper< typename std::remove_cv<T>::type>::type

Checks if the given type T is a valid custom backend i.e is a CustomBackend container.

Template Parameters
TType passed for check.

Variable Documentation

◆ has_custom_backend_v

template<class T >
constexpr bool Morpheus::has_custom_backend_v = has_custom_backend<T>::value
inlineconstexpr

Short-hand to has_custom_backend.

Template Parameters
TType passed for check.

◆ has_generic_backend_v

template<class T >
constexpr bool Morpheus::has_generic_backend_v = has_generic_backend<T>::value
inlineconstexpr

Short-hand to has_generic_backend.

Template Parameters
TType passed for check.

◆ is_custom_backend_v

template<class T >
constexpr bool Morpheus::is_custom_backend_v = is_custom_backend<T>::value
inlineconstexpr

Short-hand to is_custom_backend.

Template Parameters
TType passed for check.

◆ is_generic_backend_v

template<class T >
constexpr bool Morpheus::is_generic_backend_v = is_generic_backend<T>::value
inlineconstexpr

Short-hand to is_generic_backend.

Template Parameters
TType passed for check.