mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 16:54:01 +00:00
consistent wording.
This commit is contained in:
parent
8204872d01
commit
f6e6387fcc
@ -25,4 +25,4 @@ SIMD has a few special vocabulary terms you should know:
|
||||
|
||||
* **Vertical:** When an operation is "vertical", each lane processes individually without regard to the other lanes in the same vector. For example, a "vertical add" between two vectors would add lane 0 in `a` with lane 0 in `b`, with the total in lane 0 of `out`, and then the same thing for lanes 1, 2, etc. Most SIMD operations are vertical operations, so if your problem is a vertical problem then you can probably solve it with SIMD.
|
||||
|
||||
* **Horizontal:** When an operation is "horizontal", the lanes within a single vector interact in some way. A "horizontal add" might add up lane 0 of `a` with lane 1 of `a`, producing the output into lane 0 of `out`.
|
||||
* **Horizontal:** When an operation is "horizontal", the lanes within a single vector interact in some way. A "horizontal add" might add up lane 0 of `a` with lane 1 of `a`, with the total in lane 0 of `out`.
|
||||
|
Loading…
Reference in New Issue
Block a user