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  sycl::_V1::ext::intel::esimd::simd< Ty, N >
 The main simd vector class. More...
 

Namespaces

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

Macros

#define __ESIMD_DEF_SIMD_ARITH_UNARY_OP(ARITH_UNARY_OP, ID)
 

Typedefs

template<int N>
using sycl::_V1::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 > sycl::_V1::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)
 Prints a simd object to an output stream. More...
 

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: simd.hpp:1387

Definition at line 162 of file simd.hpp.