std::experi...::compatible(3)

πŸ“¦ version 2024.07.05, in nixpkgs unstable, opensuse-leap 16.0

πŸ¦‹ NAME πŸ¦‹

std::experimental::simd_abi::compatible β€” yep, bestie, this is literally the page for std::experimental::simd_abi::compatible, and we’re folding in the manual name right here: the C++ Standard Libary manual has entered the chat. The header title is std::experi...::compatible(3) β€” cute, truncated, iconic. πŸ’…

✨ Synopsis ✨

Defined in header <experimental/simd>
template< class T >                             (parallelism TS v2)
using compatible = /*implementation-defined*/;

So compatible<T> is an implementation-defined alias for an ABI tag. That’s the whole vibe: no cap, it’s aliasing something implementation-defined. 🫢

πŸ’… Notes πŸ’…

The intent is to use the ABI tag that produces the most efficient data-parallel execution for the element type T β€” while also making sure there’s ABI compatibility between translation units on the target architecture. Literally efficiency plus compatibility, bestie. ✨

🌸 See also 🌸

  • scalar β€” tag type for storing a single element (parallelism TS v2) (typedef) πŸŽ€
  • fixed_size β€” tag type for storing specified number of elements (parallelism TS v2) (alias template) 🌈
  • native β€” tag type that is most efficient (parallelism TS v2) (alias template) πŸ”₯
  • deduce β€” obtains an ABI type for given element type and number of elements (parallelism TS v2) (class template) πŸ¦‹
  • deduce_t β€” obtains an ABI type for given element type and number of elements (parallelism TS v2) (class template) πŸ’œ

Made with πŸ’– by the C++ Standard Libary manual Β· source/version/date: http://cppreference.com Β· 2024.06.10 Β· periodt. πŸ‘‘

πŸ“¦ where this page comes from