std::experimental::simd_mask<T,Abi>:: size
From cppreference.net
<
cpp
|
experimental
|
simd
|
simd mask
C++
Experimental
| 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 |
Extensions for parallelism v2
| Parallel exceptions | ||||
| Additional execution policies | ||||
| Algorithms | ||||
| Task blocks | ||||
| Data-parallel vectors | ||||
SIMD library
std::experimental::simd_mask
| Member functions | ||||||||||||
|
||||||||||||
| Non-member functions | ||||||||||||
|
static
constexpr
size_t size
(
)
noexcept
;
|
(병렬성 TS v2) | |
simd_mask<T, Abi>
의 너비(값의 개수)를 반환합니다.
예제
실제 출력은 대상 및 컴파일러 플래그에 따라 다릅니다.
이 코드 실행
가능한 출력:
16 16
참고 항목
|
(parallelism TS v2)
|
주어진 요소 타입과 ABI 태그의 요소 개수를 얻음
(클래스 템플릿) |
|
[static]
(parallelism TS v2)
|
너비/요소 개수를 반환
(
std::experimental::simd<T,Abi>
의
public static 멤버 함수)
|