A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://en.cppreference.com/w/cpp/algorithm/../ranges/../../cpp/experimental/simd/simd_size.html below:

std::experimental::simd_size - cppreference.com

template< class T, class Abi = simd_abi::compatible<T> >
struct simd_size;

(parallelism TS v2)

If T is a vectorizable type and is_abi_tag_v<Abi> is true, provides the member constant value equal to the width (number of elements) of simd<T, Abi>, irrespective of whether simd<T, Abi> is supported or not. For any other types T and Abi, there is no member value.

If the program adds specializations for std::simd_size or std::simd_size_v(since C++17), the behavior is undefined.

[edit] Helper variable template template< class T, class Abi = simd_abi::compatible<T> >
constexpr std::size_t simd_size_v = simd_size<T, Abi>::value;
(parallelism TS v2) Inherited from std::integral_constant Member constants the width of simd<T, Abi>
(public static member constant) Member functions converts the object to std::size_t, returns value
(public member function) returns value
(public member function) Member types [edit] Example [edit] See also

[static] (parallelism TS v2)

returns the width / number of elements
(public static member function of std::experimental::simd<T,Abi>) [edit]

[static] (parallelism TS v2)

returns the width / number of elements
(public static member function of std::experimental::simd_mask<T,Abi>) [edit]

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4