DPC++ Runtime
Runtime libraries for oneAPI DPC++
simd_view_impl.hpp File Reference
Include dependency graph for simd_view_impl.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  sycl::_V1::ext::intel::esimd::detail::simd_view_impl< BaseTy, RegionTy >
 Base class for "simd view" types. More...
 

Namespaces

 sycl
 
 sycl::_V1
 
 sycl::_V1::ext
 
 sycl::_V1::ext::intel
 
 sycl::_V1::ext::intel::esimd
 
 sycl::_V1::ext::intel::esimd::detail
 

Macros

#define __ESIMD_DEF_SIMD_VIEW_IMPL_OPASSIGN(BINOP, OPASSIGN, COND)
 
#define __ESIMD_BITWISE_OP_FILTER   std::is_integral_v<T> &&std::is_integral_v<T1>
 
#define __ESIMD_SHIFT_OP_FILTER    std::is_integral_v<T> &&std::is_integral_v<T1> &&is_simd_type_v<SimdT>
 
#define __ESIMD_ARITH_OP_FILTER
 
#define __ESIMD_DEF_UNARY_OP(UNARY_OP, COND)
 

Macro Definition Documentation

◆ __ESIMD_ARITH_OP_FILTER

#define __ESIMD_ARITH_OP_FILTER
Value:
is_valid_simd_elem_type_v<T> &&is_valid_simd_elem_type_v<T1> \
&&is_simd_type_v<SimdT>

Definition at line 350 of file simd_view_impl.hpp.

◆ __ESIMD_BITWISE_OP_FILTER

#define __ESIMD_BITWISE_OP_FILTER   std::is_integral_v<T> &&std::is_integral_v<T1>

Definition at line 336 of file simd_view_impl.hpp.

◆ __ESIMD_DEF_SIMD_VIEW_IMPL_OPASSIGN

#define __ESIMD_DEF_SIMD_VIEW_IMPL_OPASSIGN (   BINOP,
  OPASSIGN,
  COND 
)

Definition at line 298 of file simd_view_impl.hpp.

◆ __ESIMD_DEF_UNARY_OP

#define __ESIMD_DEF_UNARY_OP (   UNARY_OP,
  COND 
)
Value:
template <class T = element_type, class SimdT = BaseTy, \
class = std::enable_if_t<COND>> \
auto operator UNARY_OP() { \
auto V = UNARY_OP(read().data()); \
return get_simd_t<element_type, length>(V); \
}
std::conditional_t< std::is_same_v< ElementType, half >, sycl::detail::half_impl::BIsRepresentationT, ElementType > element_type
Definition: multi_ptr.hpp:752

Definition at line 362 of file simd_view_impl.hpp.

◆ __ESIMD_SHIFT_OP_FILTER

#define __ESIMD_SHIFT_OP_FILTER    std::is_integral_v<T> &&std::is_integral_v<T1> &&is_simd_type_v<SimdT>

Definition at line 343 of file simd_view_impl.hpp.