std::experimental::simd_abi:: max_fixed_size
| 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 |
| Parallel exceptions | ||||
| Additional execution policies | ||||
| Algorithms | ||||
| Task blocks | ||||
| Data-parallel vectors | ||||
| Main classes | ||||||||||||
| ABI tags | ||||||||||||
|
||||||||||||
| Alignment tags | ||||||||||||
| Where expression | ||||||||||||
| Casts | ||||||||||||
| Algorithms | ||||||||||||
| Reduction | ||||||||||||
| Mask reduction | ||||||||||||
| Traits | ||||||||||||
| Math functions | ||||||||||||
|
定義済みヘッダー
<experimental/simd>
|
||
|
template
<
class
T
>
constexpr int max_fixed_size = /*implementation-defined*/ ; |
(parallelism TS v2) | |
max_fixed_size < T > の値は、 simd < T, fixed_size < N >> のインスタンスが N <= max_fixed_size < T > を満たす場合に実装によってサポートされることを宣言します。 max_fixed_size < T > の値は少なくとも 32 です。
注記
実装が simd < T, fixed_size < N >> を N > max_fixed_size < T > でサポートするかどうかは未規定です。 max_fixed_size < T > の値はコンパイラフラグに依存する可能性があり、異なるコンパイラバージョン間で変更される可能性があります。
例
#include <cstdint> #include <experimental/simd> #include <iostream> namespace stq = std::experimental; int main() { std::cout << stq::simd_abi::max_fixed_size<std::uint8_t> << ' '; std::cout << stq::simd_abi::max_fixed_size<std::uint64_t> << ' '; std::cout << stq::simd_abi::max_fixed_size<float> << ' '; std::cout << stq::simd_abi::max_fixed_size<long double> << '\n'; }
出力例:
32 32 32 32
関連項目
|
(parallelism TS v2)
|
指定された数の要素を格納するためのタグ型
(エイリアステンプレート) |