DPC++ Runtime
Runtime libraries for oneAPI DPC++
simd_mask< _Tp, _Abi > Class Template Reference

#include <std/experimental/simd.hpp>

Public Types

using value_type = bool
 
using reference = __simd_mask_reference< _Tp, _Abi >
 
using simd_type = simd< _Tp, _Abi >
 
using abi_type = _Abi
 

Public Member Functions

 simd_mask ()=default
 
 simd_mask (value_type __v) noexcept
 
template<class _Up >
 simd_mask (const simd_mask< _Up, simd_abi::fixed_size< size()>> &__v) noexcept
 
template<class _Flags >
 simd_mask (const value_type *, _Flags)
 
template<class _Flags >
void copy_from (const value_type *, _Flags)
 
template<class _Flags >
void copy_to (value_type *, _Flags) const
 
reference operator[] (size_t __i)
 
value_type operator[] (size_t __i) const
 
simd_mask operator! () const noexcept
 

Static Public Member Functions

static constexpr size_t size () noexcept
 

Friends

simd_mask operator&& (const simd_mask &, const simd_mask &) noexcept
 
simd_mask operator|| (const simd_mask &, const simd_mask &) noexcept
 
simd_mask operator& (const simd_mask &, const simd_mask &) noexcept
 
simd_mask operator| (const simd_mask &, const simd_mask &) noexcept
 
simd_mask operator^ (const simd_mask &, const simd_mask &) noexcept
 
simd_maskoperator&= (simd_mask &, const simd_mask &) noexcept
 
simd_maskoperator|= (simd_mask &, const simd_mask &) noexcept
 
simd_maskoperator^= (simd_mask &, const simd_mask &) noexcept
 
simd_mask operator== (const simd_mask &, const simd_mask &) noexcept
 
simd_mask operator!= (const simd_mask &, const simd_mask &) noexcept
 

Detailed Description

template<class _Tp, class _Abi>
class simd_mask< _Tp, _Abi >

Definition at line 1029 of file simd.hpp.

Member Typedef Documentation

◆ abi_type

template<class _Tp , class _Abi >
using simd_mask< _Tp, _Abi >::abi_type = _Abi

Definition at line 1649 of file simd.hpp.

◆ reference

template<class _Tp , class _Abi >
using simd_mask< _Tp, _Abi >::reference = __simd_mask_reference<_Tp, _Abi>

Definition at line 1643 of file simd.hpp.

◆ simd_type

template<class _Tp , class _Abi >
using simd_mask< _Tp, _Abi >::simd_type = simd<_Tp, _Abi>

Definition at line 1648 of file simd.hpp.

◆ value_type

template<class _Tp , class _Abi >
using simd_mask< _Tp, _Abi >::value_type = bool

Definition at line 1641 of file simd.hpp.

Constructor & Destructor Documentation

◆ simd_mask() [1/4]

template<class _Tp , class _Abi >
simd_mask< _Tp, _Abi >::simd_mask ( )
default

◆ simd_mask() [2/4]

template<class _Tp , class _Abi >
simd_mask< _Tp, _Abi >::simd_mask ( value_type  __v)
inlineexplicitnoexcept

Definition at line 1662 of file simd.hpp.

◆ simd_mask() [3/4]

template<class _Tp , class _Abi >
template<class _Up >
simd_mask< _Tp, _Abi >::simd_mask ( const simd_mask< _Up, simd_abi::fixed_size< size()>> &  __v)
inlinenoexcept

Definition at line 1675 of file simd.hpp.

◆ simd_mask() [4/4]

template<class _Tp , class _Abi >
template<class _Flags >
simd_mask< _Tp, _Abi >::simd_mask ( const value_type ,
_Flags   
)

Member Function Documentation

◆ copy_from()

template<class _Tp , class _Abi >
template<class _Flags >
void simd_mask< _Tp, _Abi >::copy_from ( const value_type ,
_Flags   
)

◆ copy_to()

template<class _Tp , class _Abi >
template<class _Flags >
void simd_mask< _Tp, _Abi >::copy_to ( value_type ,
_Flags   
) const

◆ operator!()

template<class _Tp , class _Abi >
simd_mask simd_mask< _Tp, _Abi >::operator! ( ) const
noexcept

◆ operator[]() [1/2]

template<class _Tp , class _Abi >
reference simd_mask< _Tp, _Abi >::operator[] ( size_t  __i)
inline

Definition at line 1697 of file simd.hpp.

◆ operator[]() [2/2]

template<class _Tp , class _Abi >
value_type simd_mask< _Tp, _Abi >::operator[] ( size_t  __i) const
inline

Definition at line 1698 of file simd.hpp.

◆ size()

template<class _Tp , class _Abi >
static constexpr size_t simd_mask< _Tp, _Abi >::size ( )
inlinestaticconstexprnoexcept

Definition at line 1652 of file simd.hpp.

Friends And Related Function Documentation

◆ operator!=

template<class _Tp , class _Abi >
simd_mask operator!= ( const simd_mask< _Tp, _Abi > &  ,
const simd_mask< _Tp, _Abi > &   
)
friend

◆ operator&

template<class _Tp , class _Abi >
simd_mask operator& ( const simd_mask< _Tp, _Abi > &  ,
const simd_mask< _Tp, _Abi > &   
)
friend

◆ operator&&

template<class _Tp , class _Abi >
simd_mask operator&& ( const simd_mask< _Tp, _Abi > &  ,
const simd_mask< _Tp, _Abi > &   
)
friend

◆ operator&=

template<class _Tp , class _Abi >
simd_mask& operator&= ( simd_mask< _Tp, _Abi > &  ,
const simd_mask< _Tp, _Abi > &   
)
friend

◆ operator==

template<class _Tp , class _Abi >
simd_mask operator== ( const simd_mask< _Tp, _Abi > &  ,
const simd_mask< _Tp, _Abi > &   
)
friend

◆ operator^

template<class _Tp , class _Abi >
simd_mask operator^ ( const simd_mask< _Tp, _Abi > &  ,
const simd_mask< _Tp, _Abi > &   
)
friend

◆ operator^=

template<class _Tp , class _Abi >
simd_mask& operator^= ( simd_mask< _Tp, _Abi > &  ,
const simd_mask< _Tp, _Abi > &   
)
friend

◆ operator|

template<class _Tp , class _Abi >
simd_mask operator| ( const simd_mask< _Tp, _Abi > &  ,
const simd_mask< _Tp, _Abi > &   
)
friend

◆ operator|=

template<class _Tp , class _Abi >
simd_mask& operator|= ( simd_mask< _Tp, _Abi > &  ,
const simd_mask< _Tp, _Abi > &   
)
friend

◆ operator||

template<class _Tp , class _Abi >
simd_mask operator|| ( const simd_mask< _Tp, _Abi > &  ,
const simd_mask< _Tp, _Abi > &   
)
friend

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