|
| operator element_type () const |
|
simd_view_impl & | operator= (const simd_view_impl &Other) |
| Copy assignment. More...
|
|
Derived & | operator= (const Derived &Other) |
| Assignment from an object of the derived class. More...
|
|
Derived & | operator= (const value_type &Val) |
| Assignment from a value_type object - simd or simd_mask . More...
|
|
Derived & | operator= (Derived &&Other) |
| Assignment from an rvalue object of the derived class. More...
|
|
simd_view_impl & | operator= (simd_view_impl &&Other) |
| Move assignment operator. Updates the target region viewed by this object. More...
|
|
template<class T , int N, class SimdT , class = std::enable_if_t<(is_simd_type_v<SimdT> == is_simd_type_v<BaseTy>) && (length == SimdT::length)>> |
Derived & | operator= (const simd_obj_impl< T, N, SimdT > &Other) |
| Assignment with element type conversion from a vector object. More...
|
|
template<class T1 , class = std::enable_if_t<is_valid_simd_elem_type_v<T1>>> |
Derived & | operator= (T1 RHS) |
| Broadcast assignment of a scalar with conversion. More...
|
|
| simd_view_impl (const simd_view_impl &Other)=default |
| Default copy constructor. More...
|
|
| simd_view_impl (simd_view_impl &&Other)=default |
| Default move constructor. More...
|
|
| operator simd< ToTy, length > () const |
| Implicit conversion to a simd object with potentially different element type. More...
|
|
| operator simd_mask_type< length > () const |
| Implicit conversion to a simd_mask object. More...
|
|
constexpr uint16_t | getOffsetX () const |
| Get the offset of the first element of the view within the parent object along X dimension. More...
|
|
constexpr uint16_t | getOffsetY () const |
| Get the offset of the first element of the view within the parent object along Y dimension. More...
|
|
value_type | read () const |
| Reads the viewed region from the target w/o any conversion and returns as an object of the value_type type. More...
|
|
value_type::raw_vector_type | data () const |
|
Derived & | write (const value_type &Val) |
| Assigns a new value to the viewed target's region. More...
|
|
void | merge (const value_type &Val, const simd_mask_type< length > &Mask) |
| "Merges" the viewed target's region with given value according to a per-element mask. More...
|
|
void | merge (const value_type &Val1, value_type Val2, const simd_mask_type< length > &Mask) |
| "Merges" given values according to a per-element mask and writes the result to the viewed target's region. More...
|
|
auto | bit_cast_view () |
| Create a 1-dimensional view of the target region. More...
|
|
auto | bit_cast_view () |
| Create a 2-dimensional view of the target region. More...
|
|
auto | select (uint16_t Offset=0) |
| 1D region select. More...
|
|
auto | select (uint16_t OffsetY=0, uint16_t OffsetX=0) |
| 2D region select. More...
|
|
Derived & | operator^= (const simd_obj_impl< T1, N1, SimdT1 > &RHS) |
|
Derived & | operator^= (const simd_view_impl< SimdT1, RegionT1 > &RHS) |
|
Derived & | operator^= (T1 RHS) |
|
Derived & | operator|= (const simd_obj_impl< T1, N1, SimdT1 > &RHS) |
|
Derived & | operator|= (const simd_view_impl< SimdT1, RegionT1 > &RHS) |
|
Derived & | operator|= (T1 RHS) |
|
Derived & | operator&= (const simd_obj_impl< T1, N1, SimdT1 > &RHS) |
|
Derived & | operator&= (const simd_view_impl< SimdT1, RegionT1 > &RHS) |
|
Derived & | operator&= (T1 RHS) |
|
Derived & | operator%= (const simd_obj_impl< T1, N1, SimdT1 > &RHS) |
|
Derived & | operator%= (const simd_view_impl< SimdT1, RegionT1 > &RHS) |
|
Derived & | operator%= (T1 RHS) |
|
Derived & | operator<<= (const simd_obj_impl< T1, N1, SimdT1 > &RHS) |
|
Derived & | operator<<= (const simd_view_impl< SimdT1, RegionT1 > &RHS) |
|
Derived & | operator<<= (T1 RHS) |
|
Derived & | operator>>= (const simd_obj_impl< T1, N1, SimdT1 > &RHS) |
|
Derived & | operator>>= (const simd_view_impl< SimdT1, RegionT1 > &RHS) |
|
Derived & | operator>>= (T1 RHS) |
|
Derived & | operator+= (const simd_obj_impl< T1, N1, SimdT1 > &RHS) |
|
Derived & | operator+= (const simd_view_impl< SimdT1, RegionT1 > &RHS) |
|
Derived & | operator+= (T1 RHS) |
|
Derived & | operator-= (const simd_obj_impl< T1, N1, SimdT1 > &RHS) |
|
Derived & | operator-= (const simd_view_impl< SimdT1, RegionT1 > &RHS) |
|
Derived & | operator-= (T1 RHS) |
|
Derived & | operator*= (const simd_obj_impl< T1, N1, SimdT1 > &RHS) |
|
Derived & | operator*= (const simd_view_impl< SimdT1, RegionT1 > &RHS) |
|
Derived & | operator*= (T1 RHS) |
|
Derived & | operator/= (const simd_obj_impl< T1, N1, SimdT1 > &RHS) |
|
Derived & | operator/= (const simd_view_impl< SimdT1, RegionT1 > &RHS) |
|
Derived & | operator/= (T1 RHS) |
|
auto | operator! () |
| Unary logical negeation operator. Applies only to integer element types. More...
|
|
simd_view_impl & | operator= (const simd_view_impl &Other) |
| Copy assignment. More...
|
|
Derived & | operator= (const Derived &Other) |
| Assignment from an object of the derived class. More...
|
|
Derived & | operator= (const value_type &Val) |
| Assignment from a value_type object - simd or simd_mask . More...
|
|
Derived & | operator= (Derived &&Other) |
| Assignment from an rvalue object of the derived class. More...
|
|
simd_view_impl & | operator= (simd_view_impl &&Other) |
| Move assignment operator. Updates the target region viewed by this object. More...
|
|
Derived & | operator= (const simd_obj_impl< T, N, SimdT > &Other) |
| Assignment with element type conversion from a vector object. More...
|
|
Derived & | operator= (T1 RHS) |
| Broadcast assignment of a scalar with conversion. More...
|
|
Derived & | operator++ () |
| Prefix increment. More...
|
|
value_type | operator++ (int) |
| Postfix increment. More...
|
|
Derived & | operator-- () |
| Prefix decrement. More...
|
|
value_type | operator-- (int) |
| Postfix decrement. More...
|
|
auto | row (int i) |
| Reference a row from a 2D region. More...
|
|
auto | column (int i) |
| Reference a column from a 2D region. More...
|
|
element_type | operator[] (int i) const |
| Read a single element from the target 1D region. More...
|
|
auto | operator[] (int i) |
| Return a writeable view of a single element in the target 1D region. More...
|
|
get_simd_t< element_type, Rep > | replicate () |
| Applies simd_obj_impl::replicate to the target region. More...
|
|
get_simd_t< element_type, Rep *W > | replicate_w (uint16_t OffsetX) |
| Shortcut to replicate_vs_w<int Rep, int Vs, int W>(uint16_t) with with Vs = 0. More...
|
|
get_simd_t< element_type, Rep *W > | replicate_w (uint16_t OffsetY, uint16_t OffsetX) |
| Shortcut to replicate_vs_w<int Rep, int Vs, int W>(uint16_t, uint16_t) with Vs = 0. More...
|
|
get_simd_t< element_type, Rep *W > | replicate_vs_w (uint16_t OffsetX) |
| Shortcut to replicate_vs_w_hs<int Rep, int VS, int W, int Hs>(uint16_t OffsetY, uint16_t OffsetX) with Hs = 1 and OffsetY = 0. More...
|
|
get_simd_t< element_type, Rep *W > | replicate_vs_w (uint16_t OffsetY, uint16_t OffsetX) |
| Shortcut to replicate_vs_w_hs<int Rep, int VS, int W, int Hs>(uint16_t OffsetY, uint16_t OffsetX) with Hs = 1. More...
|
|
get_simd_t< element_type, Rep *W > | replicate_vs_w_hs (uint16_t OffsetX) |
| Applies simd_obj_impl::replicate_vs_w_hs<int Rep, int VS, int W, int HS> to the target region. More...
|
|
get_simd_t< element_type, Rep *W > | replicate_vs_w_hs (uint16_t OffsetY, uint16_t OffsetX) |
| Applies simd_obj_impl::replicate_vs_w_hs<int Rep, int VS, int W, int HS> to the target region. More...
|
|
uint16_t | any () |
| Applies simd_obj_impl::any operation to the target region. More...
|
|
uint16_t | all () |
| Applies simd_obj_impl::all operation to the target region. More...
|
|
template<typename BaseTy, typename NestedRegion, class ViewedElemT>
class sycl::_V1::ext::intel::esimd::simd_view< BaseTy, std::pair< region1d_scalar_t< ViewedElemT >, NestedRegion > >
This is a specialization of nested simd_view class with a single element.
Objects of such a class are created in the following situation: simd<int, 4> v = 1; auto v1 = v.select<2, 1>(0); auto v2 = v1[0]; // simd_view of a nested region for a single element
Definition at line 187 of file simd_view.hpp.