Skip to content

Search topics & cppreference

Search all study topics, concept maps, and 6,587 C++ and C reference pages.

std::experimental::simd_abi::scalar

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.

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

Content from this page on cppreference.com, licensed under CC-BY-SA 3.0 and GFDL. Modified: restyled, site navigation removed, code windows added. Offline snapshot of 9 February 2025.