std::experimental:: vector_aligned_tag, std::experimental:: vector_aligned
From cppreference.net
<
cpp
|
experimental
|
simd
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
| Main classes | |||||||
| ABI tags | |||||||
| Alignment tags | |||||||
|
|||||||
| Where expression | |||||||
| Casts | |||||||
| Algorithms | |||||||
| Reduction | |||||||
| Mask reduction | |||||||
| Traits | |||||||
| Math functions | |||||||
|
헤더에 정의됨
<experimental/simd>
|
||
|
struct
vector_aligned_tag
{
}
;
inline constexpr vector_aligned_tag vector_aligned { } ; |
(parallelism TS v2) | |
이 태그 유형은 copy_from 와 copy_to 의 버퍼가 memory_alignment_v < T, U > 에 정렬되어 있음을 나타내며, 여기서 복사 작업은 simd / simd_mask 유형 T와 요소 유형 U를 가진 버퍼에서 동작합니다.
참고 사항
이 태그 유형은 벡터 정렬 로드 및 스토어를 구현할 수 있게 합니다.
참고 항목
|
(parallelism TS v2)
|
로드/스토어 주소의 요소 정렬을 나타내는 플래그
(클래스) |
|
(parallelism TS v2)
|
로드/스토어 주소의 지정된 정렬을 나타내는 플래그
(클래스 템플릿) |
|
(parallelism TS v2)
|
vector_aligned
에 적합한 정렬을 얻음
(클래스 템플릿) |