A RetroSearch Logo

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

Search Query:

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

std::experimental::simd_mask - cppreference.com

std::experimental::simd_mask

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

(parallelism TS v2)

The class template simd_mask is a data-parallel type with the element type bool. The width of a given simd_mask instantiation is a constant expression, determined by the template parameters. Specifically, simd_mask<T, Abi>::size() is always simd<T, Abi>::size().

[edit] Template parameters T - the element type simd_mask applies on Abi - the ABI type simd_mask applies on [edit] Helper alias templates Template Definition template< class T, int N > using fixed_size_simd_mask simd_mask<T, simd_abi::fixed_size<N>> template< class T > using native_simd_mask simd_mask<T, simd_abi::native<T>> [edit] Member types Member type Definition value_type bool reference implementation-defined simd_type simd<T, Abi> abi_type Abi [edit] Member functions constructs a simd_mask object
(public member function) [edit] loads simd_mask elements from contiguous memory
(public member function) [edit] stores simd_mask elements to contiguous memory
(public member function) [edit] accesses specified element
(public member function) [edit] negates each element
(public member function) [edit]

[static] (parallelism TS v2)

returns the width / number of elements
(public static member function) [edit] [edit] Non-member functions [edit] Example [edit] See also data-parallel vector type
(class template) [edit] proxy to a subset of a valarray after applying a boolean mask operator[]
(class template) [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