alpaka
Abstraction Library for Parallel Kernel Acceleration
Loading...
Searching...
No Matches
alpaka::internal::EmuSimdMask< T_Type, T_width > Struct Template Reference

#include <EmuSimdMask.hpp>

Inheritance diagram for alpaka::internal::EmuSimdMask< T_Type, T_width >:

Public Types

using BaseType = std::array<ValueMaskType, T_width>
using reference = SmartMaskValueRef<bool, ValueMaskType>
using value_type = bool
using ValueMaskType = ALPAKA_TYPEOF(internal::valueMaskCast<T_Type>(true))

Public Member Functions

constexpr EmuSimdMask ()=default
constexpr EmuSimdMask (BaseType const &base)
constexpr EmuSimdMask (EmuSimdMask &&)=default
constexpr EmuSimdMask (EmuSimdMask const &other)
template<typename... T_Args>
constexpr EmuSimdMask (T_Args const &... args)
template<typename... T_Args>
constexpr EmuSimdMask (T_Args... args)
constexpr void copyFrom (T_Type const *data, alpaka::concepts::Alignment auto alignment)
constexpr void copyTo (auto *data, alpaka::concepts::Alignment auto alignment) const
template<typename T_OtherStorage>
constexpr EmuSimdMaskoperator&= (EmuSimdMask const &rhs)
constexpr EmuSimdMaskoperator&= (T_Type const value)
constexpr EmuSimdMaskoperator= (EmuSimdMask &&rhs)=default
constexpr EmuSimdMaskoperator= (EmuSimdMask const &rhs)=default
constexpr EmuSimdMaskoperator= (T_Type const value)
constexpr reference operator[] (std::integral auto const idx)
template<typename T_OtherStorage>
constexpr EmuSimdMaskoperator^= (EmuSimdMask const &rhs)
constexpr EmuSimdMaskoperator^= (T_Type const value)
template<typename T_OtherStorage>
constexpr EmuSimdMaskoperator|= (EmuSimdMask const &rhs)
constexpr EmuSimdMaskoperator|= (T_Type const value)
constexpr auto & asNativeType ()
 static cast the instance to the parent class
constexpr auto const & asNativeType () const
 static cast the instance to the parent class

Static Public Member Functions

static constexpr auto fill (bool value)

Detailed Description

template<typename T_Type, uint32_t T_width>
struct alpaka::internal::EmuSimdMask< T_Type, T_width >

Definition at line 32 of file EmuSimdMask.hpp.

Member Typedef Documentation

◆ BaseType

template<typename T_Type, uint32_t T_width>
using alpaka::internal::EmuSimdMask< T_Type, T_width >::BaseType = std::array<ValueMaskType, T_width>

Definition at line 40 of file EmuSimdMask.hpp.

◆ reference

template<typename T_Type, uint32_t T_width>
using alpaka::internal::EmuSimdMask< T_Type, T_width >::reference = SmartMaskValueRef<bool, ValueMaskType>

Definition at line 43 of file EmuSimdMask.hpp.

◆ value_type

template<typename T_Type, uint32_t T_width>
using alpaka::internal::EmuSimdMask< T_Type, T_width >::value_type = bool

Definition at line 42 of file EmuSimdMask.hpp.

◆ ValueMaskType

template<typename T_Type, uint32_t T_width>
using alpaka::internal::EmuSimdMask< T_Type, T_width >::ValueMaskType = ALPAKA_TYPEOF(internal::valueMaskCast<T_Type>(true))

Definition at line 38 of file EmuSimdMask.hpp.

Constructor & Destructor Documentation

◆ EmuSimdMask() [1/6]

template<typename T_Type, uint32_t T_width>
alpaka::internal::EmuSimdMask< T_Type, T_width >::EmuSimdMask ( )
constexprdefault

◆ EmuSimdMask() [2/6]

template<typename T_Type, uint32_t T_width>
alpaka::internal::EmuSimdMask< T_Type, T_width >::EmuSimdMask ( EmuSimdMask< T_Type, T_width > const & other)
inlineconstexpr

Definition at line 54 of file EmuSimdMask.hpp.

◆ EmuSimdMask() [3/6]

template<typename T_Type, uint32_t T_width>
alpaka::internal::EmuSimdMask< T_Type, T_width >::EmuSimdMask ( EmuSimdMask< T_Type, T_width > && )
constexprdefault

◆ EmuSimdMask() [4/6]

template<typename T_Type, uint32_t T_width>
template<typename... T_Args>
alpaka::internal::EmuSimdMask< T_Type, T_width >::EmuSimdMask ( T_Args const &... args)
inlineconstexpr

Definition at line 79 of file EmuSimdMask.hpp.

◆ EmuSimdMask() [5/6]

template<typename T_Type, uint32_t T_width>
template<typename... T_Args>
alpaka::internal::EmuSimdMask< T_Type, T_width >::EmuSimdMask ( T_Args... args)
inlineconstexpr

Definition at line 85 of file EmuSimdMask.hpp.

◆ EmuSimdMask() [6/6]

template<typename T_Type, uint32_t T_width>
alpaka::internal::EmuSimdMask< T_Type, T_width >::EmuSimdMask ( BaseType const & base)
inlineconstexpr

Definition at line 89 of file EmuSimdMask.hpp.

Member Function Documentation

◆ asNativeType() [1/2]

template<typename T_Type, uint32_t T_width>
auto & alpaka::internal::EmuSimdMask< T_Type, T_width >::asNativeType ( )
inlineconstexpr

static cast the instance to the parent class

This method is mostly used to get access to native comparison operators.

Definition at line 98 of file EmuSimdMask.hpp.

◆ asNativeType() [2/2]

template<typename T_Type, uint32_t T_width>
auto const & alpaka::internal::EmuSimdMask< T_Type, T_width >::asNativeType ( ) const
inlineconstexpr

static cast the instance to the parent class

This method is mostly used to get access to native comparison operators.

Definition at line 103 of file EmuSimdMask.hpp.

◆ copyFrom()

template<typename T_Type, uint32_t T_width>
void alpaka::internal::EmuSimdMask< T_Type, T_width >::copyFrom ( T_Type const * data,
alpaka::concepts::Alignment auto alignment )
inlineconstexpr

Definition at line 120 of file EmuSimdMask.hpp.

◆ copyTo()

template<typename T_Type, uint32_t T_width>
void alpaka::internal::EmuSimdMask< T_Type, T_width >::copyTo ( auto * data,
alpaka::concepts::Alignment auto alignment ) const
inlineconstexpr

Definition at line 131 of file EmuSimdMask.hpp.

◆ fill()

template<typename T_Type, uint32_t T_width>
constexpr auto alpaka::internal::EmuSimdMask< T_Type, T_width >::fill ( bool value)
inlinestaticconstexpr

Definition at line 110 of file EmuSimdMask.hpp.

◆ operator&=() [1/2]

template<typename T_Type, uint32_t T_width>
template<typename T_OtherStorage>
EmuSimdMask & alpaka::internal::EmuSimdMask< T_Type, T_width >::operator&= ( EmuSimdMask< T_Type, T_width > const & rhs)
inlineconstexpr

Definition at line 162 of file EmuSimdMask.hpp.

◆ operator&=() [2/2]

template<typename T_Type, uint32_t T_width>
EmuSimdMask & alpaka::internal::EmuSimdMask< T_Type, T_width >::operator&= ( T_Type const value)
inlineconstexpr

Definition at line 162 of file EmuSimdMask.hpp.

◆ operator=() [1/3]

template<typename T_Type, uint32_t T_width>
EmuSimdMask & alpaka::internal::EmuSimdMask< T_Type, T_width >::operator= ( EmuSimdMask< T_Type, T_width > && rhs)
constexprdefault

◆ operator=() [2/3]

template<typename T_Type, uint32_t T_width>
EmuSimdMask & alpaka::internal::EmuSimdMask< T_Type, T_width >::operator= ( EmuSimdMask< T_Type, T_width > const & rhs)
constexprdefault

◆ operator=() [3/3]

template<typename T_Type, uint32_t T_width>
EmuSimdMask & alpaka::internal::EmuSimdMask< T_Type, T_width >::operator= ( T_Type const value)
inlineconstexpr

Definition at line 67 of file EmuSimdMask.hpp.

◆ operator[]()

template<typename T_Type, uint32_t T_width>
reference alpaka::internal::EmuSimdMask< T_Type, T_width >::operator[] ( std::integral auto const idx)
inlineconstexpr

Definition at line 47 of file EmuSimdMask.hpp.

◆ operator^=() [1/2]

template<typename T_Type, uint32_t T_width>
template<typename T_OtherStorage>
EmuSimdMask & alpaka::internal::EmuSimdMask< T_Type, T_width >::operator^= ( EmuSimdMask< T_Type, T_width > const & rhs)
inlineconstexpr

Definition at line 164 of file EmuSimdMask.hpp.

◆ operator^=() [2/2]

template<typename T_Type, uint32_t T_width>
EmuSimdMask & alpaka::internal::EmuSimdMask< T_Type, T_width >::operator^= ( T_Type const value)
inlineconstexpr

Definition at line 164 of file EmuSimdMask.hpp.

◆ operator|=() [1/2]

template<typename T_Type, uint32_t T_width>
template<typename T_OtherStorage>
EmuSimdMask & alpaka::internal::EmuSimdMask< T_Type, T_width >::operator|= ( EmuSimdMask< T_Type, T_width > const & rhs)
inlineconstexpr

Definition at line 163 of file EmuSimdMask.hpp.

◆ operator|=() [2/2]

template<typename T_Type, uint32_t T_width>
EmuSimdMask & alpaka::internal::EmuSimdMask< T_Type, T_width >::operator|= ( T_Type const value)
inlineconstexpr

Definition at line 163 of file EmuSimdMask.hpp.


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