Difference between revisions of "cpp/experimental/simd"
From cppreference.com
< cpp | experimental
Line 69: | Line 69: | ||
{{dsc begin}} | {{dsc begin}} | ||
− | {{dsc tfun | cpp/experimental/simd/all_of | | notes={{mark since parallelism_ts_2}} | title=all_of <br/> any_of <br/> none_of <br/> some_of }} | + | {{dsc tfun | cpp/experimental/simd/all_of | predicates on the number of true values | notes={{mark since parallelism_ts_2}} | title=all_of <br/> any_of <br/> none_of <br/> some_of }} |
− | {{dsc tfun | cpp/experimental/simd/popcount | | notes={{mark since parallelism_ts_2}}}} | + | {{dsc tfun | cpp/experimental/simd/popcount | returns the number of true values | notes={{mark since parallelism_ts_2}}}} |
− | {{dsc tfun | cpp/experimental/simd/find_first_set | | notes={{mark since parallelism_ts_2}} | title=find_first_set <br/> find_last_set}} | + | {{dsc tfun | cpp/experimental/simd/find_first_set | returns the position of the first or last true value | notes={{mark since parallelism_ts_2}} | title=find_first_set <br/> find_last_set}} |
{{dsc end}} | {{dsc end}} | ||
Revision as of 13:27, 1 February 2018
Defined in header
<experimental/simd> |
Contents |
Main classes
(parallelism TS v2) |
data-parallel vector type (class template) |
(parallelism TS v2) |
data-parallel type with the element type bool (class template) |
ABI tags
Defined in namespace
std::experimental::simd_abi | |
(parallelism TS v2) |
tag type for storing a single element (class) |
(parallelism TS v2) |
tag type for storing specified number of elements (class template) |
(parallelism TS v2) |
tag type that ensures ABI compatibility (alias template) |
(parallelism TS v2) |
tag type that is most efficient (alias template) |
(parallelism TS v2) |
the maximum number of elements guaranteed to be supported by fixed (constant) |
Alignment tags
(parallelism TS v2) |
tag type that indicates the alignment of the elements (class) |
(parallelism TS v2) |
tag type that indicates the alignment of the vector type (class) |
(parallelism TS v2) |
tag type that indicates the specified alignment (class template) |
Where expression
(parallelism TS v2) |
selected elements with non-mutating operations (class template) |
(parallelism TS v2) |
selected elements with mutating operations (class template) |
(parallelism TS v2) |
produces const_where_expression and where_expression (function template) |
Casts
(parallelism TS v2) |
element-wise static_cast (function template) |
(parallelism TS v2) |
element-wise ABI cast (function template) |
(parallelism TS v2) |
splits single simd object to multiple ones (function template) |
(parallelism TS v2) |
concatenates multiple simd objects to a single one (function template) |
Algorithms
(parallelism TS v2) |
element-wise min operation (function template) |
(parallelism TS v2) |
element-wise max operation (function template) |
(parallelism TS v2) |
element-wise minmax operation (function template) |
(parallelism TS v2) |
element-wise clamp operation (function template) |
Reduction
(parallelism TS v2) |
reduces the vector to a single element (function template) |
(parallelism TS v2) |
returns the minimum element (function template) |
(parallelism TS v2) |
returns the maximum element (function template) |
Mask reduction
(parallelism TS v2) |
predicates on the number of true values (function template) |
(parallelism TS v2) |
returns the number of true values (function template) |
(parallelism TS v2) |
returns the position of the first or last true value (function template) |
Traits
(parallelism TS v2) |
(class template) |
(parallelism TS v2) |
(class template) |
(parallelism TS v2) |
(class template) |
(parallelism TS v2) |
(class template) |
(parallelism TS v2) |
(class template) |
(parallelism TS v2) |
(class template) |
(parallelism TS v2) |
(class template) |
Helpers
(parallelism TS v2) |
(alias template) |
(parallelism TS v2) |
(alias template) |
(parallelism TS v2) |
(alias template) |
(parallelism TS v2) |
(alias template) |