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)
|
지정된 수의 요소를 저장하기 위한 태그 타입
(alias template) |