std::experimental::simd_abi::scalar

From cppreference.com
< cpp‎ | experimental‎ | simd
 
 
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>
using scalar = /*unspecified*/;
(parallelism TS v2)

With the scalar ABI tag, data-parallel types are equivalent to a single element type. However, the full simd and simd_mask interface is supported and thus eases development of generic code.

Notes

scalar is not an alias to fixed_size<1>.

See also

(parallelism TS v2)
tag type for storing specified number of elements
(alias 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)
obtains an ABI type for given element type and number of elements
(class template)