std::experimental::simd_mask<T,Abi>::size
From cppreference.com
< cpp | experimental | simd | simd mask
static constexpr size_t size() noexcept; |
(parallelism TS v2) | |
Returns the width (the number of values) of simd_mask<T, Abi>
.
Example
The actual output depends on target and compiler flags.
Run this code
Possible output:
16 16
See also
(parallelism TS v2) |
obtains the number of elements of a given element type and ABI tag (class template) |
[static] (parallelism TS v2) |
returns the width / number of elements (public static member function of std::experimental::simd<T,Abi> ) |