Functions | |
template<class T , int N> | |
__ESIMD_API simd< T, N > | sycl::_V1::ext::intel::esimd::merge (simd< T, N > a, simd< T, N > b, simd_mask< N > m) |
"Merges" elements of the input simd object according to the merge mask. More... | |
template<int N> | |
__ESIMD_API simd_mask< N > | sycl::_V1::ext::intel::esimd::merge (simd_mask< N > a, simd_mask< N > b, simd_mask< N > m) |
"Merges" elements of the input masks according to the merge mask. More... | |
template<class BaseT1 , class BaseT2 , class RegionT1 , class RegionT2 , class = std::enable_if_t< (shape_type<RegionT1>::length == shape_type<RegionT2>::length) && std::is_same_v<detail::element_type_t<BaseT1>, detail::element_type_t<BaseT2>>>> | |
__ESIMD_API auto | sycl::_V1::ext::intel::esimd::merge (simd_view< BaseT1, RegionT1 > v1, simd_view< BaseT2, RegionT2 > v2, simd_mask< shape_type< RegionT1 >::length > m) |
"Merges" elements of vectors referenced by the input views. 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... | |
__ESIMD_API simd<T, N> sycl::_V1::ext::intel::esimd::merge | ( | simd< T, N > | a, |
simd< T, N > | b, | ||
simd_mask< N > | m | ||
) |
"Merges" elements of the input simd object according to the merge mask.
a | The first simd object. |
b | The second simd object. |
m | The merge mask. |
a
if corresponding merge mask element is non-zero or element from b
otherwise. Definition at line 30 of file alt_ui.hpp.
Referenced by sycl::_V1::ext::intel::esimd::merge().
__ESIMD_API simd_mask<N> sycl::_V1::ext::intel::esimd::merge | ( | simd_mask< N > | a, |
simd_mask< N > | b, | ||
simd_mask< N > | m | ||
) |
"Merges" elements of the input masks according to the merge mask.
a | The first mask. |
b | The second mask. |
m | The merge mask. |
a
if corresponding merge mask element is non-zero or element
from b
otherwise. Definition at line 43 of file alt_ui.hpp.
__ESIMD_API auto sycl::_V1::ext::intel::esimd::merge | ( | simd_view< BaseT1, RegionT1 > | v1, |
simd_view< BaseT2, RegionT2 > | v2, | ||
simd_mask< shape_type< RegionT1 >::length > | m | ||
) |
"Merges" elements of vectors referenced by the input views.
Available only when all of the length and the element type of the subregions referenced by both input views are the same.
a | The first view. |
b | The second view. |
m | The merge mask. |
a
if corresponding merge mask element is non-zero or element
from b
otherwise. Definition at line 62 of file alt_ui.hpp.
References sycl::_V1::ext::intel::esimd::merge(), and sycl::_V1::ext::intel::esimd::detail::simd_view_impl< BaseTy, RegionTy >::read().
std::ostream& operator<< | ( | std::ostream & | OS, |
const sycl::ext::intel::esimd::simd< Ty, N > & | V | ||
) |