Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::experimental::simd_abi::fixed_size

      From cppreference.com
      <cpp‎ |experimental‎ |simd
       
       
       
       
       
      Defined in header<experimental/simd>
      template<int N>
      struct fixed_size{};
      (parallelism TS v2)

      Thesimd_abi::fixed_size<N> tag type ensures data-parallel types to store and manipulateN elements (i.e.simd<T, simd_abi::fixed_size<N>>::size() returnsN). An implementation shall support at least allN[132]. Additionally, for every supportedsimd<T, Abi>, whereAbi is an implementation-defined ABI tag,N= simd<T, Abi>::size() shall be supported.

      [edit]Notes

      An implementation may choose to forego ABI compatibility between differently compiled translation units forsimd andsimd_mask instantiations using the samesimd_abi::fixed_size<N> tag. Otherwise, the efficiency ofsimd<T, Abi> is likely to be better thansimd<T, fixed_size<simd_size_v<T, Abi>>> (withAbi not an instance ofsimd_abi::fixed_size).

      [edit]Example

      This section is incomplete
      Reason: no example

      [edit]See also

      (parallelism TS v2)
      the maximum number of elements guaranteed to be supported by fixed
      (constant)[edit]
      (parallelism TS v2)
      tag type for storing a single element
      (typedef)[edit]
      (parallelism TS v2)
      tag type that ensures ABI compatibility
      (alias template)[edit]
      (parallelism TS v2)
      tag type that is most efficient
      (alias template)[edit]
      (parallelism TS v2)
      obtains an ABI type for given element type and number of elements
      (class template)[edit]
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/experimental/simd/fixed_size&oldid=161481"

      [8]ページ先頭

      ©2009-2026 Movatter.jp