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/../error/error_code/../../experimental/simd/simd.html below:

std::experimental::simd - cppreference.com

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

(parallelism TS v2)

The class template simd is a data-parallel type. The width of a given simd instantiation is a constant expression, determined by the template parameters.

An ABI tag is a type in the simd_abi namespace that indicates a choice of size and binary representation for objects of data-parallel type.

[edit] Template parameters T - element type; an arithmetic type other than bool Abi - tag type used to determine the number of elements and storage [edit] Helper alias templates

template< class T, int N >
using fixed_size_simd = std::experimental::simd<T, std::experimental::simd_abi::fixed_size<N>>;

template< class T >
using native_simd = std::experimental::simd<T, std::experimental::simd_abi::native<T>>;

[edit] Member types Member type Definition value_type T reference implementation-defined mask_type simd_mask<T, Abi> abi_type Abi [edit] Member functions constructs a simd object
(public member function) [edit] loads simd elements from contiguous memory
(public member function) [edit] stores simd elements to contiguous memory
(public member function) [edit] accesses specified element
(public member function) [edit] element-wise increment and decrement
(public member function) [edit] element-wise unary operators
(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 type with the element type bool
(class template) [edit] numeric arrays, array masks and array slices
(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