XeTLA v0.3.6
IntelĀ® Xe Templates for Linear Algebra - API Definition Document
 
Loading...
Searching...
No Matches
bit_mask_manipulation.hpp File Reference

C++ API. More...

Include dependency graph for bit_mask_manipulation.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  gpu
 
namespace  gpu::xetla
 

Functions

template<typename T0 , typename T1 , int SZ, typename U , class Sat = xetla_saturation_off_tag>
__XETLA_API xetla_vector< T0, SZ > gpu::xetla::xetla_shl (xetla_vector< T1, SZ > src0, U src1, Sat sat={})
 Shift left operation (vector version)
 
template<typename T0 , typename T1 , typename T2 , class Sat = xetla_saturation_off_tag>
std::remove_const< T0 >::type gpu::xetla::xetla_shl (T1 src0, T2 src1, Sat sat={})
 Shift left operation (scalar version)
 
template<typename T0 , typename T1 , int SZ, typename U , class Sat = xetla_saturation_off_tag>
__XETLA_API xetla_vector< T0, SZ > gpu::xetla::xetla_shr (xetla_vector< T1, SZ > src0, U src1, Sat sat={})
 Shift right operation (vector version)
 
template<typename T0 , typename T1 , typename T2 , class Sat = xetla_saturation_off_tag>
__XETLA_API std::remove_const< T0 >::type gpu::xetla::xetla_shr (T1 src0, T2 src1, Sat sat={})
 Shift right operation (scalar version)
 
template<typename T0 , typename T1 , int SZ>
__XETLA_API xetla_vector< T0, SZ > gpu::xetla::xetla_rol (xetla_vector< T1, SZ > src0, xetla_vector< T1, SZ > src1)
 Rotate left operation with two vector inputs.
 
template<typename T0 , typename T1 , int SZ, typename U >
__XETLA_API std::enable_if_t< std::is_integral< T0 >::value &&std::is_integral< T1 >::value &&std::is_integral< U >::value &&is_xetla_scalar< U >::value, xetla_vector< T0, SZ > > gpu::xetla::xetla_rol (xetla_vector< T1, SZ > src0, U src1)
 Rotate left operation with a vector and a scalar inputs.
 
template<typename T0 , typename T1 , typename T2 >
__XETLA_API std::enable_if_t< std::is_integral< T0 >::value &&std::is_integral< T1 >::value &&std::is_integral< T2 >::value, remove_const_t< T0 > > gpu::xetla::xetla_rol (T1 src0, T2 src1)
 Rotate left operation with two scalar inputs.
 
template<typename T0 , typename T1 , int SZ>
__XETLA_API xetla_vector< T0, SZ > gpu::xetla::xetla_ror (xetla_vector< T1, SZ > src0, xetla_vector< T1, SZ > src1)
 Rotate right operation with two vector inputs.
 
template<typename T0 , typename T1 , int SZ, typename U >
__XETLA_API std::enable_if_t< std::is_integral< T0 >::value &&std::is_integral< T1 >::value &&std::is_integral< U >::value &&is_xetla_scalar< U >::value, xetla_vector< T0, SZ > > gpu::xetla::xetla_ror (xetla_vector< T1, SZ > src0, U src1)
 Rotate right operation with a vector and a scalar inputs.
 
template<typename T0 , typename T1 , typename T2 >
__XETLA_API std::enable_if_t< std::is_integral< T0 >::value &&std::is_integral< T1 >::value &&std::is_integral< T2 >::value, remove_const_t< T0 > > gpu::xetla::xetla_ror (T1 src0, T2 src1)
 Rotate right operation with two scalar inputs.
 
template<typename T0 , typename T1 , int SZ, typename U , class Sat = xetla_saturation_off_tag>
__XETLA_API xetla_vector< T0, SZ > gpu::xetla::xetla_lsr (xetla_vector< T1, SZ > src0, U src1, Sat sat={})
 Logical Shift Right (vector version)
 
template<typename T0 , typename T1 , typename T2 , class Sat = xetla_saturation_off_tag>
__XETLA_API std::remove_const< T0 >::type gpu::xetla::xetla_lsr (T1 src0, T2 src1, Sat sat={})
 Logical Shift Right (scalar version)
 
template<typename T0 , typename T1 , int SZ, typename U , class Sat = xetla_saturation_off_tag>
__XETLA_API xetla_vector< T0, SZ > gpu::xetla::xetla_asr (xetla_vector< T1, SZ > src0, U src1, Sat sat={})
 Arithmetical Shift Right (vector version)
 
template<typename T0 , typename T1 , typename T2 , class Sat = xetla_saturation_off_tag>
__XETLA_API std::remove_const< T0 >::type gpu::xetla::xetla_asr (T1 src0, T2 src1, Sat sat={})
 Arithmetical Shift Right (scalar version)
 
template<int N>
__XETLA_API uint32_t gpu::xetla::xetla_pack_mask (xetla_mask< N > src0)
 Pack a xetla_mask into a single unsigned 32-bit integer value.
 
template<int N>
__XETLA_API xetla_mask< N > gpu::xetla::xetla_unpack_mask (uint32_t src0)
 Unpack an unsigned 32-bit integer value into a xetla_mask.
 

Detailed Description

C++ API.