DPC++ Runtime
Runtime libraries for oneAPI DPC++

Classes

struct  esimd_apply_prod
 
struct  esimd_apply_reduced_max
 
struct  esimd_apply_reduced_min
 
struct  esimd_apply_sum
 
class  simd_obj_impl
 This is a base class for all ESIMD simd classes with real storage (simd, simd_mask_impl). More...
 

Functions

template<typename T0 , typename T1 , int SZ, template< typename RT, typename T, int N > class OpType>
T0 reduce_single (simd< T1, SZ > v)
 
template<typename T0 , typename T1 , int N1, int N2, template< typename RT, typename T, int N > class OpType>
T0 reduce_pair (simd< T1, N1 > v1, simd< T1, N2 > v2)
 
template<typename T0 , typename T1 , int SZ, template< typename RT, typename T, int N > class OpType>
T0 reduce (simd< T1, SZ > v)
 
template<typename T0 , typename T1 , int SZ>
ESIMD_INLINE ESIMD_NODEBUG T0 sum (simd< T1, SZ > v)
 
template<typename T0 , typename T1 , int SZ>
ESIMD_INLINE ESIMD_NODEBUG T0 prod (simd< T1, SZ > v)
 
template<rgba_channel_mask M>
static void validate_rgba_write_channel_mask ()
 

Variables

template<rgba_channel Ch>
static constexpr uint8_t ch = 1 << static_cast<int>(Ch)
 
static constexpr uint8_t chR = ch<rgba_channel::R>
 
static constexpr uint8_t chG = ch<rgba_channel::G>
 
static constexpr uint8_t chB = ch<rgba_channel::B>
 
static constexpr uint8_t chA = ch<rgba_channel::A>
 
static constexpr SurfaceIndex SLM_BTI = 254
 
static constexpr SurfaceIndex INVALID_BTI
 

Function Documentation

◆ prod()

template<typename T0 , typename T1 , int SZ>
ESIMD_INLINE ESIMD_NODEBUG T0 cl::sycl::ext::intel::esimd::detail::prod ( simd< T1, SZ >  v)

Definition at line 1026 of file math.hpp.

◆ reduce()

template<typename T0 , typename T1 , int SZ, template< typename RT, typename T, int N > class OpType>
T0 cl::sycl::ext::intel::esimd::detail::reduce ( simd< T1, SZ >  v)

Definition at line 1003 of file math.hpp.

◆ reduce_pair()

template<typename T0 , typename T1 , int N1, int N2, template< typename RT, typename T, int N > class OpType>
T0 cl::sycl::ext::intel::esimd::detail::reduce_pair ( simd< T1, N1 >  v1,
simd< T1, N2 >  v2 
)

Definition at line 979 of file math.hpp.

◆ reduce_single()

template<typename T0 , typename T1 , int SZ, template< typename RT, typename T, int N > class OpType>
T0 cl::sycl::ext::intel::esimd::detail::reduce_single ( simd< T1, SZ >  v)

Definition at line 963 of file math.hpp.

◆ sum()

template<typename T0 , typename T1 , int SZ>
ESIMD_INLINE ESIMD_NODEBUG T0 cl::sycl::ext::intel::esimd::detail::sum ( simd< T1, SZ >  v)

Definition at line 1018 of file math.hpp.

◆ validate_rgba_write_channel_mask()

template<rgba_channel_mask M>
static void cl::sycl::ext::intel::esimd::detail::validate_rgba_write_channel_mask ( )
static

Definition at line 560 of file memory.hpp.

Variable Documentation

◆ ch

template<rgba_channel Ch>
constexpr uint8_t cl::sycl::ext::intel::esimd::detail::ch = 1 << static_cast<int>(Ch)
inlinestaticconstexpr

Definition at line 109 of file common.hpp.

◆ chA

constexpr uint8_t cl::sycl::ext::intel::esimd::detail::chA = ch<rgba_channel::A>
inlinestaticconstexpr

Definition at line 113 of file common.hpp.

◆ chB

constexpr uint8_t cl::sycl::ext::intel::esimd::detail::chB = ch<rgba_channel::B>
inlinestaticconstexpr

Definition at line 112 of file common.hpp.

◆ chG

constexpr uint8_t cl::sycl::ext::intel::esimd::detail::chG = ch<rgba_channel::G>
inlinestaticconstexpr

Definition at line 111 of file common.hpp.

◆ chR

constexpr uint8_t cl::sycl::ext::intel::esimd::detail::chR = ch<rgba_channel::R>
inlinestaticconstexpr

Definition at line 110 of file common.hpp.

◆ INVALID_BTI

constexpr SurfaceIndex cl::sycl::ext::intel::esimd::detail::INVALID_BTI
inlinestaticconstexpr
Initial value:
=
static_cast<SurfaceIndex>(-1)

Definition at line 117 of file common.hpp.

◆ SLM_BTI

constexpr SurfaceIndex cl::sycl::ext::intel::esimd::detail::SLM_BTI = 254
inlinestaticconstexpr

Definition at line 116 of file common.hpp.

Referenced by cl::sycl::ext::intel::esimd::get_surface_index(), and piPluginInit().

cl::sycl::ext::intel::esimd::SurfaceIndex
unsigned int SurfaceIndex
Surface index type.
Definition: common.hpp:105