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

Go to the source code of this file.

Classes

class  cl::sycl::ext::intel::esimd::simd< Ty, N >
 The main simd vector class. More...
 

Namespaces

 cl
 We provide new interfaces for matrix muliply in this patch:
 
 cl::sycl
 
 cl::sycl::ext
 
 cl::sycl::ext::intel
 
 cl::sycl::ext::intel::esimd
 

Macros

#define __ESIMD_DEF_SIMD_ARITH_UNARY_OP(ARITH_UNARY_OP, ID)
 

Typedefs

template<int N>
using cl::sycl::ext::intel::esimd::simd_mask = detail::simd_mask_type< N >
 Represents a simd mask os size N. More...
 

Functions

template<typename To , typename From , int N>
ESIMD_INLINE simd< To, N > cl::sycl::ext::intel::esimd::convert (const simd< From, N > &val)
 Covert from a simd object with element type From to a simd object with element type To. More...
 
template<typename Ty , int N>
std::ostream & operator<< (std::ostream &OS, const sycl::ext::intel::esimd::simd< Ty, N > &V)
 

Macro Definition Documentation

◆ __ESIMD_DEF_SIMD_ARITH_UNARY_OP

#define __ESIMD_DEF_SIMD_ARITH_UNARY_OP (   ARITH_UNARY_OP,
  ID 
)
Value:
template <class T1 = Ty> simd operator ARITH_UNARY_OP() const { \
static_assert(!std::is_unsigned_v<T1>, \
#ARITH_UNARY_OP "doesn't apply to unsigned types"); \
return simd{detail::vector_unary_op<detail::UnaryOp::ID, T1, N>( \
base_type::data())}; \
}

Definition at line 160 of file simd.hpp.

simd
Definition: simd.hpp:1027