Go to the source code of this file.
|
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) |
|
◆ __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 161 of file simd.hpp.