Namespaces
Variants
Views
Actions

Difference between revisions of "cpp/experimental/simd"

From cppreference.com
Line 61: Line 61:
  
 
{{dsc begin}}
 
{{dsc begin}}
{{dsc tfun | cpp/experimental/simd/reduce | | notes={{mark since parallelism_ts_2}}}}
+
{{dsc tfun | cpp/experimental/simd/reduce | reduces the vector to a single element | notes={{mark since parallelism_ts_2}}}}
{{dsc tfun | cpp/experimental/simd/hmin | | notes={{mark since parallelism_ts_2}}}}
+
{{dsc tfun | cpp/experimental/simd/hmin | returns the minimum element | notes={{mark since parallelism_ts_2}}}}
{{dsc tfun | cpp/experimental/simd/hmax | | notes={{mark since parallelism_ts_2}}}}
+
{{dsc tfun | cpp/experimental/simd/hmax | returns the maximum element | notes={{mark since parallelism_ts_2}}}}
 
{{dsc end}}
 
{{dsc end}}
  

Revision as of 13:25, 1 February 2018

 
 
Experimental
Technical Specification
Filesystem library (filesystem TS)
Library fundamentals (library fundamentals TS)
Library fundamentals 2 (library fundamentals TS v2)
Library fundamentals 3 (library fundamentals TS v3)
Extensions for parallelism (parallelism TS)
Extensions for parallelism 2 (parallelism TS v2)
Extensions for concurrency (concurrency TS)
Extensions for concurrency 2 (concurrency TS v2)
Concepts (concepts TS)
Ranges (ranges TS)
Reflection (reflection TS)
Mathematical special functions (special functions TR)
Experimental Non-TS
Pattern Matching
Linear Algebra
std::execution
Contracts
2D Graphics
 
 
 
Defined in header <experimental/simd>

Contents

Main classes

(parallelism TS v2)
data-parallel vector type
(class template) [edit]
(parallelism TS v2)
data-parallel type with the element type bool
(class template) [edit]

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

tag type that indicates the alignment of the elements
(class)
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)
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


(function template)
(parallelism TS v2)

(function template)

(function template)

Traits

(parallelism TS v2)

(class template)
(parallelism TS v2)

(class template)
(parallelism TS v2)

(class template)

(class template)
(parallelism TS v2)

(class template)

(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)

Math functions

Example