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 { } ; |
(并行技术规范 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
的适当对齐方式
(类模板) |