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  cl::__ESIMD_DNS::simd_view_impl< BaseTy, RegionTy >
 Base class for "simd view" types. More...
 

Namespaces

 cl
 We provide new interfaces for matrix muliply in this patch:
 
 cl::__ESIMD_DNS
 

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 344 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 330 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 292 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); \
}

Definition at line 356 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 337 of file simd_view_impl.hpp.

T
cl::sycl::access::mode::read
@ read